Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "opsos", Short: "Universal Tool for DevOps and Cloud Automation", Long: `'opsos'' is a universal tool for DevOps and cloud automation used for provisioning, managing and orchestrating workflows across various toolchains`, PersistentPreRunE: func(cmd *cobra.Command, args []string) error { if cmd == versionCmd { return nil } conf, err := config.InitConfig() if err != nil { return err } cmd.SetContext(config.SetConfig(cmd.Context(), conf)) logging.InitLogger(*conf) return nil }, }
RootCmd represents the base command when called without any subcommands
View Source
var Version = "0.0.1"
Functions ¶
Types ¶
type RegisterCmdFunc ¶ added in v0.3.1
Click to show internal directories.
Click to hide internal directories.