1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-11-30 06:59:04 +01:00

Move cmd back to commands

This commit is contained in:
Oliver Steele 2017-07-19 16:06:43 -04:00
parent d19dfebfb7
commit dc91ac00ae
8 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
package cmd package commands
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package cmd package commands
import ( import (
"github.com/osteele/gojekyll/config" "github.com/osteele/gojekyll/config"

View File

@ -1,4 +1,4 @@
package cmd package commands
import ( import (
"fmt" "fmt"

View File

@ -1,4 +1,4 @@
package cmd package commands
import ( import (
"strconv" "strconv"

View File

@ -1,4 +1,4 @@
package cmd package commands
import ( import (
"os" "os"

View File

@ -1,4 +1,4 @@
package cmd package commands
import ( import (
"testing" "testing"

View File

@ -1,4 +1,4 @@
package cmd package commands
import ( import (
"fmt" "fmt"

View File

@ -4,11 +4,11 @@ import (
"fmt" "fmt"
"os" "os"
"github.com/osteele/gojekyll/cmd" "github.com/osteele/gojekyll/commands"
) )
func main() { func main() {
err := cmd.ParseAndRun(os.Args[1:]) err := commands.ParseAndRun(os.Args[1:])
if err != nil { if err != nil {
fmt.Fprintln(os.Stderr, err) // nolint: gas fmt.Fprintln(os.Stderr, err) // nolint: gas
os.Exit(1) os.Exit(1)