Skip to content

Update CLI analytics and login docs#5195

Closed
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/cli-analytics-login-updates-1775595426
Closed

Update CLI analytics and login docs#5195
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/cli-analytics-login-updates-1775595426

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify bot commented Apr 7, 2026

Summary

The CLI shipped changes to analytics flags and login behavior:

  • Removed --humans, --agents, and --agent flags from mint analytics commands. The CLI now auto-detects AI agent environments and defaults to JSON output.
  • mint login now prompts for a default project after authentication, which analytics commands use automatically.
  • Subdomain auto-resolves from config or your account, so --subdomain is no longer required for most workflows.

Changes

  • Updated cli/analytics.mdx to remove references to --humans/--agents flags and document auto-detection behavior
  • Updated cli/commands.mdx to remove deprecated flags from the reference table and update login description
  • Updated cli/preview.mdx to mention the project selection prompt after login

Note

Low Risk
Low risk: documentation-only updates that reflect recent CLI behavior changes (flag removals, auto-detected JSON output, and default project/subdomain selection).

Overview
Updates CLI docs to match new analytics and auth behavior: mint login now selects (or auto-sets) a default project and stores it in config for subsequent commands.

Refreshes mint analytics documentation by removing references to --humans, --agents, and --agent, clarifying that AI agent environments auto-default to JSON output, and noting --subdomain can fall back to config or the account’s first project.

Reviewed by Cursor Bugbot for commit 3e3262a. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify bot commented Apr 7, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Apr 7, 2026, 9:07 PM

@ethanpalm ethanpalm closed this Apr 8, 2026
@ethanpalm ethanpalm deleted the mintlify/cli-analytics-login-updates-1775595426 branch April 8, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant