Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "init", Short: "Initialize a Anthos Configuration Management directory", Long: `Initialize a Anthos Configuration Management directory Set up a working Anthos Configuration Management directory with a default Repo object, documentation, and directories. By default, does not initialize directories containing files. Use --force to initialize nonempty directories.`, Example: ` nomos init nomos init --path=my/directory nomos init --path=/path/to/my/directory`, Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) error { cmd.SilenceUsage = true return Initialize(flags.Path, forceValue) }, }
Cmd is the Cobra object representing the nomos init command
Functions ¶
func Initialize ¶
Initialize initializes a Nomos directory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.