Skip to main content
These commands manage the CLI itself rather than a NeetoAuth resource.

Authentication

login

Opens your browser to sign in and saves credentials for the workspace. Omit --subdomain to be prompted.
Sample output

logout

Sample output
With --all, it prints Signed out of all subdomains. instead.

whoami

Lists each signed-in account and marks it (default) when only one is signed in. Pass --subdomain <name> to show one workspace.
Sample output

Diagnostics

doctor

Checks authentication, API reachability, and the CLI version. See Troubleshooting. When several workspaces are signed in, pass --subdomain <name>.
Sample output
A failed check is marked and carries the underlying error on the next line.

version

Prints the CLI version, commit hash, and build date.
Sample output

commands

Prints the complete command and flag catalog for the installed version as JSON. It is useful in scripts and with AI assistants.
Sample output

Updating

update

Detects how the CLI was installed and runs the matching upgrade for you.
Sample output
Outside Homebrew it reports a shell-script install on macOS and Linux, or a Windows install on Windows, and runs the matching installer.

AI-assistant setup

Add NeetoAuth instructions to your AI coding assistant. See AI assistants for details.
Sample output
The other assistants write a rules or instructions file directly, reporting Wrote <path> or Updated <path>.

Shell completion

Shell completion fills in command names, subcommands, and flags when you press Tab. It saves you from having to remember the full command tree or look up --help. neetoauth completion <shell> installs completion for your shell. It writes a script under ~/.config/neetoauth/completions and configures your shell to load it the next time it starts.
Start a new shell (or run source ~/.zshrc) to enable it. After upgrading the CLI, run the command again to update the available completions. Re-running it replaces the existing script and configuration without adding duplicates.
To configure it yourself, pass --print to write the raw script to standard output instead of installing it: