a bunch of updates, including verify function

Signed-off-by: Dave Henderson <dhenderson@gmail.com>
This commit is contained in:
Dave Henderson
2018-08-09 00:30:16 -04:00
parent 946aa8c3f3
commit 008a314137
6 changed files with 318 additions and 52 deletions

View File

@ -51,6 +51,7 @@ func initConfig(ctx context.Context, cmd *cobra.Command) {
idCmd(ctx),
flushCmd(ctx),
imageCmd(ctx),
initCmd(ctx),
)
if cfgFile != "" { // enable ability to specify config file via flag
@ -63,7 +64,7 @@ func initConfig(ctx context.Context, cmd *cobra.Command) {
// If a config file is found, read it in.
if err := viper.ReadInConfig(); err == nil {
fmt.Println("Using config file:", viper.ConfigFileUsed())
fmt.Fprintln(os.Stderr, "Using config file:", viper.ConfigFileUsed())
}
}