Skip to content

Commit

Permalink
Move cmd back to commands
Browse files Browse the repository at this point in the history
  • Loading branch information
osteele committed Jul 19, 2017
1 parent d19dfeb commit dc91ac0
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion cmd/commands.go → commands/commands.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package commands

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion cmd/flags.go → commands/flags.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package commands

import (
"github.com/osteele/gojekyll/config"
Expand Down
2 changes: 1 addition & 1 deletion cmd/logging.go → commands/logging.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package commands

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion cmd/option_utils.go → commands/option_utils.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package commands

import (
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion cmd/run.go → commands/run.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package commands

import (
"os"
Expand Down
2 changes: 1 addition & 1 deletion cmd/run_test.go → commands/run_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package commands

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go → commands/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cmd
package commands

import (
"fmt"
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dc91ac0

Please sign in to comment.