Keptn v1 reached EOL December 22, 2023. For more information see
This documentation is for an older Keptn release. Please consider the newest one when working with the latest Keptn.

keptn generate docs

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:

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")

Options inherited from parent commands

      --config-file string   Specify custom Keptn Config file path (default: ~/.keptn/config)
  -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


  • keptn generate - Generates the markdown CLI documentation or a support archive
Auto generated by spf13/cobra on 17-Feb-2022