Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Tool reference

Tool names are exactly what the server exports. Your client may prefix them with the server name. Flags go in the flags object with underscores, and positional arguments go in args.

Every tool returns stdout, stderr, and exit_code.

Read-only

ToolCommandFlags
xianyun_versionxianyun versionnone
xianyun_statusxianyun statusnone
xianyun_doctorxianyun doctornone
xianyun_logsxianyun logs [PROC_NAMES]...tail (integer, default 25), no_log_prefix (boolean). Process names go in args.
xianyun_config_validatexianyun config validateallow_deprecated (boolean)
xianyun_config_printxianyun config printnone
xianyun_registry_statusxianyun registry statusoutput: text or json

xianyun_config_print expands variables, including any environment variable the config references, and prints the result. Don’t point it at a config you don’t trust. See Security.

State-changing

These run without a prompt.

ToolCommandFlags
xianyun_upxianyun upnone
xianyun_deployxianyun deployrepo (string, a deployer name), update (boolean, pull repositories first)
xianyun_updatexianyun updateverify_only, quiet, stash (booleans), repo, skip (strings)
xianyun_set-kube-contextxianyun set-kube-contextdry_run, remove, use_context (booleans), kubeconfig (string)
xianyun_config_migratexianyun config migratedry_run, force, skip_backup (booleans)
xianyun_registry_startxianyun registry startnone
xianyun_registry_stopxianyun registry stopnone
xianyun_ca_inspectxianyun ca inspectnone. Creates the CA key pair on first use.

xianyun_config_migrate currently only reports that a version 2 configuration is already the latest.

Gated

These need confirmation before they run.

ToolCommandWhat the prompt warns about
xianyun_downxianyun downStops the cluster
xianyun_destroyxianyun destroyDeletes the cluster and all its data, and can’t be undone
xianyun_update-etc-hostsxianyun update-etc-hostsRewrites /etc/hosts. Flags: dry_run, remove (booleans), ip (string). Typically needs sudo.
xianyun_ca_trustxianyun ca trustInstalls the dev CA in the system trust store
xianyun_ca_untrustxianyun ca untrustRemoves it

Gating applies to a dry run too. xianyun_update-etc-hosts with dry_run set still goes through the prompt.

Names with dashes

xianyun_update-etc-hosts and xianyun_set-kube-context keep the dash from the command name, so they’re the only two tool names that aren’t plain identifiers. If your client can’t call them, check how it lists them.