login
Signs in to a workspace through the browser and saves the session to~/.config/neetorecord/auth.json. Run it once per workspace you work with.
--subdomain the command prompts for it.
logout
Signs out of a workspace and removes its saved session.
With exactly one workspace signed in,
--subdomain can be left out. With
several, pass --subdomain to pick one or --all to sign out of every
workspace.
whoami
Prints the account and workspace the CLI is signed in as. Run it when you are not sure which workspace a command is about to hit.doctor
Checks authentication, API reachability, and the CLI version in a single pass. Start here when a command fails and the message does not make the cause obvious.version
Prints the version, commit, and build date of the installed binary. Include this in bug reports.update
Upgrades the CLI in place. It detects how the binary was installed and runs the matching upgrade:brew upgrade for a Homebrew install, the install script
otherwise, and the PowerShell script on Windows.
setup
Teaches an AI coding assistant how to drive the CLI by writing that assistant’s rules file. See AI assistants for what each subcommand writes.claude, cursor, windsurf, copilot, gemini,
codex.
commands
Prints the full command tree, including every flag, as JSON. This is what an AI assistant should read when it needs a flag that its rules file does not cover, and it is always accurate for the installed binary.Shell completion
completion writes the completion script under
~/.config/neetorecord/completions and wires your shell to load it on the next
start. There is nothing to source by hand.
~/.zshrc,
~/.bashrc, or your PowerShell profile. Re-running refreshes both the script
and that block instead of duplicating it. The fish script goes to
~/.config/fish/completions, which fish loads on its own.
Start a new shell to pick up the completions.
Pass --print to write the script to standard output instead of installing it,
which is handy when you manage shell config yourself: