Skip to content

CLI reference

Every dxnx command, its arguments and its most useful options.

Most commands follow dxnx <domain> <command>; status is top-level. The default subcommand is named in each table. --json is listed only on commands that support it.

Domain aliases: stats (analytics), activity (audit), doc (docs), pull-request (pr), stage (staging), notif (notifications), gh (github), chat (agent).

Global flags: -y, --yes and --force skip confirmation prompts on commands that ask for one (--force also covers destructive actions), and -v, --version prints the CLI version.

Auth

CommandDescriptionKey options
loginPrompt for an API key, verify it and save it locally.-t, --token <token>
logoutRemove the stored token from this machine.—
mePrint the authenticated user. Alias: whoami.--json

Profile

CommandDescriptionKey options
profileShow name, email, creation date and user ID.—
profile updateInteractively update the profile name.—
profile sessionsList active sessions across devices.--json
profile revoke-session [sessionId]Revoke a session by ID prefix or from a picker.—
profile accountsList linked OAuth providers.--json
profile disconnect <provider>Disconnect github, google or yandex.—
profile remove-avatarDelete the custom avatar and reset to the default.—
profile deletePermanently delete the account and its repositories.—

Keys

CommandDescriptionKey options
keys listList active keys. Default command.-a, --archived, -f, --full-id, --json
keys createCreate a key and print the secret once. Scopes: CLI, MCP, FULL.-n, --name, -d, --description, -s, --scopes
keys revoke [id]Revoke a key by ID prefix or from a picker.—
keys update [id]Rename or re-describe a key.-n, --name, -d, --description

Repos

CommandDescriptionKey options
repos listList connected repositories. Default command.-l, --limit, -p, --page, -s, --search, -o, --owner, --json
repos add <url>Connect a GitHub repository by URL.—
repos view <target>Show repository summary and metadata.--json
repos delete [id]Delete a repository by ID prefix or from a picker.—
repos owner <owner>Show the primary repository for an owner.--json
repos purge-owner <owner>Delete every repository owned by owner.—
repos purge-allDelete all connected repositories and their analyses.—
repos slimCompact list for scripts. Alias: quick.-l, --limit, -s, --search, -o, --owner, -c, --cursor, --json

Analyze

CommandDescriptionKey options
analyze start [target]Queue an AST analysis for a branch.-b, --branch, -l, --language
analyze status [target]Latest run status and security scores.--json
analyze cancel [analysisId]Abort an in-flight run by ID prefix or from a picker.-r, --repo
analyze history [target]List past runs for a repository.--json
analyze audit <filePath>Run a one-file security and quality audit.-r, --repo, -b, --branch, -o, --output, --json
analyze config [target]Show pull-request automation settings.--json
analyze config-set [target]Interactively update pull-request automation settings.—
analyze metrics [target]Inspect AST complexity and technical-debt metrics.-a, --aid, -r, --repo, --json
analyze structure [target]Explore the structural map. Alias: map.-a, --aid, -r, --repo, --json
analyze search <query> [target]Search symbols and modules in the latest run.-a, --aid, -r, --repo, --json

Analytics

CommandDescriptionKey options
analytics overviewWorkspace or per-repository health metrics. Default command.-r, --repo, --from, --to, --json
analytics trendsSecurity, tech-debt and complexity trends over time.-r, --repo, --from, --to, --json

Audit

CommandDescriptionKey options
audit listList workspace audit records. Default command.-l, --limit, -c, --cursor, --json
audit view [logId]Inspect one event payload. Alias: payload.--json, --html

Docs

CommandDescriptionKey options
docs list [target]List generated documents for a repository. Default command.-a, --aid, --json
docs view [target]Print or save a document. Alias: cat.-t, --type <README/ARCHITECTURE/API/CONTRIBUTING/CHANGELOG/CODE_DOC>, -p, --path, -a, --aid, -o, --output
docs generate <filePath>Generate documentation for one file. Alias: file.-r, --repo, -b, --branch, -l, --language, -o, --output
docs pin <filePath>Pin a file audit report into permanent documentation.-r, --repo
docs export [target]Write every document under <dir>/<owner>-<repo>/.-d, --dir

PR

CommandDescriptionKey options
pr list [target]List pull-request reviews and risk scores. Default command.--json
pr view [target] [prNumberOrId]Inspect one analysis and its security impact. Alias: inspect.-r, --repo, --json
pr comments [targetOrAnalysisId] [prNumber]Show review findings and inline comments. Alias: findings.-r, --repo, --json
pr open [target]Open a pull request from the staged files.-b, --branch, -t, --title
pr comment <prNumber> <body> [target]Post a comment on a GitHub pull request.—
pr fixes [target]List AI-generated fixes.--json
pr fix [fixId]Inspect a fix and its generated patches. Alias: fix-view.-r, --repo, --json
pr fix-apply [fixId]Push patches and open a pull request. Alias: apply-fix.-r, --repo, -b, --branch, -t, --title
pr fix-create [target]Request an AI fix for a finding. Alias: fix-generate.-f, --file, -l, --line, -m, --message, --findings-file, -p, --pr-analysis-id

Staging

CommandDescriptionKey options
staging list [target]List files staged for the next pull request. Default command.--json
staging add <filePath>Upload a local file into staging.-r, --repo
staging drop <filePath>Remove a file from staging. Alias: unstage.-r, --repo
staging clearDiscard everything staged for the repository.-r, --repo
staging add-fix [fixId]Stage every file from an AI fix. Alias: stage-fix.-r, --repo

Notifications

CommandDescriptionKey options
notifications listList recent notifications. Default command.-a, --all, -p, --page, -l, --limit, --json
notifications view [id]Show one notification from the recent page.—
notifications clearMark all unread notifications as read.—
notifications statsShow read and unread counters.--json
notifications read [id]Mark one notification as read.—
notifications unread [id]Mark one notification as unread.—
notifications delete [id]Delete one notification.—
notifications pruneDelete all read notifications.—

GitHub

CommandDescriptionKey options
github reposList repositories visible to the GitHub App; optionally connect one. Default command.--json
github installPrint the GitHub App installation URL.—
github branches <target>List remote branches.--json
github tree <target> [branch]Browse the remote file tree without cloning.--json
github cat <target> <filePath>Print a remote file.-b, --branch
github search <query>Search GitHub repositories.--json

Agent

CommandDescriptionKey options
agent [prompt...]Send a one-shot prompt; without a prompt, start a REPL session.-r, --repo
agent sessionsList previous chat sessions.-r, --repo, --json
agent history [sessionId]Print one session's messages.--json

System

CommandDescriptionKey options
statusCheck API health, latency and token status. Alias: ping.—

On this page