From 38a5637cf5e8c0c7ff90c685e1ba7af0c8c0d171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Mon, 25 Jun 2018 13:19:54 +0200 Subject: [PATCH] Write to output when a function is not implemented --- internal/cli/info/info.go | 1 + internal/cli/nettest/nettest.go | 1 + internal/cli/show/show.go | 1 + internal/cli/upload/upload.go | 1 + 4 files changed, 4 insertions(+) diff --git a/internal/cli/info/info.go b/internal/cli/info/info.go index ef80127..5743dff 100644 --- a/internal/cli/info/info.go +++ b/internal/cli/info/info.go @@ -11,6 +11,7 @@ func init() { cmd.Action(func(_ *kingpin.ParseContext) error { log.Info("Info") + log.Error("this function is not implemented") return nil }) } diff --git a/internal/cli/nettest/nettest.go b/internal/cli/nettest/nettest.go index 39fc053..3517a66 100644 --- a/internal/cli/nettest/nettest.go +++ b/internal/cli/nettest/nettest.go @@ -11,6 +11,7 @@ func init() { cmd.Action(func(_ *kingpin.ParseContext) error { log.Info("Nettest") + log.Error("this function is not implemented") return nil }) } diff --git a/internal/cli/show/show.go b/internal/cli/show/show.go index ff79442..ca75897 100644 --- a/internal/cli/show/show.go +++ b/internal/cli/show/show.go @@ -15,6 +15,7 @@ func init() { log.WithError(err).Error("failed to initialize root context") return err } + log.Error("this function is not implemented") return nil }) diff --git a/internal/cli/upload/upload.go b/internal/cli/upload/upload.go index 208af91..42a70f4 100644 --- a/internal/cli/upload/upload.go +++ b/internal/cli/upload/upload.go @@ -11,6 +11,7 @@ func init() { cmd.Action(func(_ *kingpin.ParseContext) error { log.Info("Uploading") + log.Error("this function is not implemented") return nil }) }