diff --git a/pkg/cmd/download.go b/pkg/cmd/download.go index 224facc4ce1cb99441525b5e8867617fcace73d0..d642d73be03a4c3d03f78a91c2da2fc13b460d34 100644 --- a/pkg/cmd/download.go +++ b/pkg/cmd/download.go @@ -11,7 +11,6 @@ import ( "github.com/tmrts/boilr/pkg/util/exit" "github.com/tmrts/boilr/pkg/util/git" "github.com/tmrts/boilr/pkg/util/osutil" - "github.com/tmrts/boilr/pkg/util/tlog" "github.com/tmrts/boilr/pkg/util/validate" ) @@ -21,8 +20,6 @@ var Download = &cli.Command{ Short: "Download a project template from a github repository to template registry", // FIXME Half-Updates leave messy templates Run: func(c *cli.Command, args []string) { - tlog.SetLogLevel(GetStringFlag(c, "log-level")) - MustValidateArgs(args, []validate.Argument{ {"template-repo", validate.UnixPath}, {"template-tag", validate.AlphanumericExt}, diff --git a/pkg/cmd/use.go b/pkg/cmd/use.go index 9966b60c6b15e26d1f902e4e76730db313f39a3f..0297afe29db668f2f3ff4c762d13f02aa242d9b3 100644 --- a/pkg/cmd/use.go +++ b/pkg/cmd/use.go @@ -12,7 +12,6 @@ import ( "github.com/tmrts/boilr/pkg/template" "github.com/tmrts/boilr/pkg/util/exit" "github.com/tmrts/boilr/pkg/util/osutil" - "github.com/tmrts/boilr/pkg/util/tlog" "github.com/tmrts/boilr/pkg/util/validate" ) @@ -33,8 +32,6 @@ var Use = &cli.Command{ Use: "use <template-tag> <target-dir>", Short: "Execute a project template in the given directory", Run: func(cmd *cli.Command, args []string) { - tlog.SetLogLevel(GetStringFlag(cmd, "log-level")) - MustValidateArgs(args, []validate.Argument{ {"template-tag", validate.UnixPath}, {"target-dir", validate.UnixPath}, diff --git a/pkg/cmd/version.go b/pkg/cmd/version.go index ca1e38f97c0095657f7fb77f997dd26ea34161d6..df06182483442b48aeb40f4e09a04f6c890f7817 100644 --- a/pkg/cmd/version.go +++ b/pkg/cmd/version.go @@ -15,8 +15,6 @@ var Version = &cli.Command{ Use: "version", Short: "Show the boilr version information", Run: func(c *cli.Command, args []string) { - tlog.SetLogLevel(GetStringFlag(c, "log-level")) - MustValidateArgs(args, []validate.Argument{}) shouldntPrettify := GetBoolFlag(c, "dont-prettify")