longhornctl_doc.md
July 16, 2026 ยท View on GitHub
longhornctl doc
Generate markdown documentation for the CLI
Synopsis
Generate markdown documentation for the CLI and save it to the specified output directory. This allows you to easily access the documentation in markdown format.
longhornctl doc [output directory] [flags]
Options
-h, --help help for doc
Options inherited from parent commands
--image string Image containing longhornctl-local (default "longhornio/longhorn-cli:v1.13.0-dev")
--image-pull-secret string Secret with registry credentials for pulling images
--image-registry string Registry to apply to all images (CLI, engine, pause, BCI, etc.), replacing any registry already specified in those images.
--kubeconfig string Kubernetes config (kubeconfig) path
-l, --log-level string log level (trace, debug, info, warn, error, fatal, panic) (default "info")
--namespace string The namespace to run DaemonSet pods. (default "longhorn-system")
--node-selector string Comma-separated list of key=value pairs to match against node labels, selecting the nodes the DaemonSet will run on (e.g. env=prod,zone=us-west).
--tolerations string Semicolon-separated list of tolerations for DaemonSet pods (e.g. key=value:NoSchedule;:NoExecute).
SEE ALSO
- longhornctl - Command-line interface for Longhorn.