Home / Keptn v1 Docs / Release 0.9.2 / Reference / Keptn CLI / Commands / keptn generate docs
Generates the markdown documentation for the Keptn CLI
Generates markdown documentation for the Keptn CLI.
This command can be used to create an up-to-date documentation of the Keptn CLI and as published on: https://v1.keptn.sh/docs
It creates one markdown file per command, suitable for rendering in Hugo.
keptn generate docs [flags]
keptn generate docs
keptn generate docs --dir=/some/directory
--dir string directory where the docs should be written to (default "./docs")
-h, --help help
--mock Disables communication to a Keptn endpoint
-n, --namespace string Specify the namespace where Keptn should be installed, used and uninstalled in (default "keptn")
-q, --quiet Suppresses debug and info messages
-v, --verbose Enables verbose logging to print debug messages
-y, --yes Assume yes for all user prompts