Authentication
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.Diagnostics
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.--subdomain to still probe the workspace URL; without
it the API check is skipped.
version
Prints the version, commit, and build date of the installed binary. Include this in bug reports.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.Upgrade
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.
AI-assistant setup
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.
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.
The loader block sits between
# neetorecord completions and
# end neetorecord completions marker lines. Re-running overwrites the script
and refreshes that block instead of duplicating it; the rest of the file is
left as it was.
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: