Huly CLI
Use the CLI's own help and JSON contracts as the authority. Do not memorize or reproduce its complete command catalog.
Set up authentication
Install the package with pnpm add --global @firfi/huly-cli, then run:
huly auth login
huly auth status --json
Use huly profile create|list|select|update for named URL, workspace, and default-project contexts. Environment variables take priority over the active profile. Never print, copy into chat, or persist a password; login stores only the returned token in the operating system's user config directory.
Key local command surfaces:
huly auth login [--profile <name>] [--json]
huly auth status [--json]
huly auth logout [--profile <name>] [--json]
huly profile create <name> --url <url> --workspace <workspace> [--default-project <project>] [--json]
huly profile list [--json]
huly profile select <name> [--json]
huly profile update <name> [--url <url>] [--workspace <workspace>] [--default-project <project> | --clear-default-project] [--json]
Discover before acting
- Run
huly --helpto discover groups. - Run
huly <group> --helpand then leaf--helpto learn exact fields. - Add
--jsonfor a lossless machine-readable result. - Inspect the target before a mutation.
- Add
--yesonly after checking commands marked as consequential.
Reusable identifiers in human tables are safe to copy, but prefer JSON for automation.
High-value workflows
List projects and issues:
huly projects list --json
huly issues list --project HULY --json
huly issues get HULY HULY-123 --json
Search broadly before choosing a specialized command:
huly search "release blocker" --json
For scripts, read references/automation.md before handling failures or retries.