Skip to main content

Initialize CLI

The init command authenticates to a CLI server and updates the CLI to the latest version.

Usage

cloudcli init [flags]

Options

      --docs-dir string      Save generated docs to this directory (default "docs")
--docs-format string Set to one of the supported formats to generate docs (supported formats: markdown)
-h, --help Show help for init

Options Inherited from Parent Commands

      --api-clientid string   API Client ID
--api-secret string API Secret
--config string Config file (default is $HOME/.cloudcli.yaml)
--debug Enable debug output to stderr
--dryrun Enable dry run mode, does not perform actions
--format string Output format, default is a human-readable summary
--no-config Disable loading from config file