diff --git a/cmd/commands.go b/commands/commands.go similarity index 99% rename from cmd/commands.go rename to commands/commands.go index 4b85015..8079007 100644 --- a/cmd/commands.go +++ b/commands/commands.go @@ -1,4 +1,4 @@ -package cmd +package commands import ( "fmt" diff --git a/cmd/flags.go b/commands/flags.go similarity index 99% rename from cmd/flags.go rename to commands/flags.go index 7d01f57..b806466 100644 --- a/cmd/flags.go +++ b/commands/flags.go @@ -1,4 +1,4 @@ -package cmd +package commands import ( "github.com/osteele/gojekyll/config" diff --git a/cmd/logging.go b/commands/logging.go similarity index 96% rename from cmd/logging.go rename to commands/logging.go index 78fc07a..128cb24 100644 --- a/cmd/logging.go +++ b/commands/logging.go @@ -1,4 +1,4 @@ -package cmd +package commands import ( "fmt" diff --git a/cmd/option_utils.go b/commands/option_utils.go similarity index 98% rename from cmd/option_utils.go rename to commands/option_utils.go index 73228a3..11663df 100644 --- a/cmd/option_utils.go +++ b/commands/option_utils.go @@ -1,4 +1,4 @@ -package cmd +package commands import ( "strconv" diff --git a/cmd/run.go b/commands/run.go similarity index 99% rename from cmd/run.go rename to commands/run.go index 0c0d421..28786af 100644 --- a/cmd/run.go +++ b/commands/run.go @@ -1,4 +1,4 @@ -package cmd +package commands import ( "os" diff --git a/cmd/run_test.go b/commands/run_test.go similarity index 92% rename from cmd/run_test.go rename to commands/run_test.go index dff10b4..885f4de 100644 --- a/cmd/run_test.go +++ b/commands/run_test.go @@ -1,4 +1,4 @@ -package cmd +package commands import ( "testing" diff --git a/cmd/version.go b/commands/version.go similarity index 96% rename from cmd/version.go rename to commands/version.go index 52b8c2b..d957e97 100644 --- a/cmd/version.go +++ b/commands/version.go @@ -1,4 +1,4 @@ -package cmd +package commands import ( "fmt" diff --git a/main.go b/main.go index 3e5210e..8fba512 100644 --- a/main.go +++ b/main.go @@ -4,11 +4,11 @@ import ( "fmt" "os" - "github.com/osteele/gojekyll/cmd" + "github.com/osteele/gojekyll/commands" ) func main() { - err := cmd.ParseAndRun(os.Args[1:]) + err := commands.ParseAndRun(os.Args[1:]) if err != nil { fmt.Fprintln(os.Stderr, err) // nolint: gas os.Exit(1)