QJZD Nav CLI Auth
Use this skill for qjzd-nav auth and qjzd-nav auth profile.
If authentication is not set up yet, do this first before running link, category, tag, backup, or settings commands.
Commands
qjzd-nav auth --help
qjzd-nav auth login --help
qjzd-nav auth profile --help
Main workflows:
qjzd-nav auth loginqjzd-nav auth currentqjzd-nav auth profile listqjzd-nav auth profile currentqjzd-nav auth profile get <name>qjzd-nav auth profile use <name>qjzd-nav auth profile delete <name>qjzd-nav auth profile doctor
Common Flows
Login with password (uses RSA encryption):
qjzd-nav auth login \
--profile default \
--url https://nav.qjzd.online \
--password <password>
Note: The password is encrypted with the server's public key before being sent.
Inspect and switch profiles:
qjzd-nav auth current
qjzd-nav auth profile list
qjzd-nav auth profile use production
qjzd-nav auth profile get default --json
Diagnose broken credentials:
qjzd-nav auth profile doctor
qjzd-nav auth profile delete production --force
Rules
- In non-interactive mode,
qjzd-nav auth loginrequires--profile,--url, and--password. - Use
--jsonwhen another tool needs structured output. profile deleteis destructive; use--forcein non-interactive mode.- Profile metadata lives in config, but secrets live in the system keyring.
- The CLI uses RSA encryption for password authentication.
Routing
- Use
qjzd-nav-cli-contentfor links, categories, and tags. - Use
qjzd-nav-cli-operationsfor backups, restore, and settings.