Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "envkey-fetch YOUR-ENVKEY", Short: "Fetches, decrypts, and verifies EnvKey config. Accepts a single envkey as an argument. Returns decrypted config as json. Can optionally cache encrypted config locally.", Run: func(cmd *cobra.Command, args []string) { if printVersion { fmt.Println(version.Version) return } if len(args) > 0 { fmt.Println(fetch.Fetch(args[0], fetch.FetchOptions{shouldCache, cacheDir})) } else { cmd.Help() } }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.