Write to output when a function is not implemented

This commit is contained in:
Arturo Filastò 2018-06-25 13:19:54 +02:00
parent 030ecacf80
commit 38a5637cf5
4 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,7 @@ func init() {
cmd.Action(func(_ *kingpin.ParseContext) error { cmd.Action(func(_ *kingpin.ParseContext) error {
log.Info("Info") log.Info("Info")
log.Error("this function is not implemented")
return nil return nil
}) })
} }

View File

@ -11,6 +11,7 @@ func init() {
cmd.Action(func(_ *kingpin.ParseContext) error { cmd.Action(func(_ *kingpin.ParseContext) error {
log.Info("Nettest") log.Info("Nettest")
log.Error("this function is not implemented")
return nil return nil
}) })
} }

View File

@ -15,6 +15,7 @@ func init() {
log.WithError(err).Error("failed to initialize root context") log.WithError(err).Error("failed to initialize root context")
return err return err
} }
log.Error("this function is not implemented")
return nil return nil
}) })

View File

@ -11,6 +11,7 @@ func init() {
cmd.Action(func(_ *kingpin.ParseContext) error { cmd.Action(func(_ *kingpin.ParseContext) error {
log.Info("Uploading") log.Info("Uploading")
log.Error("this function is not implemented")
return nil return nil
}) })
} }