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:
parent
d19dfebfb7
commit
dc91ac00ae
@ -1,4 +1,4 @@
|
|||||||
package cmd
|
package commands
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
@ -1,4 +1,4 @@
|
|||||||
package cmd
|
package commands
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/osteele/gojekyll/config"
|
"github.com/osteele/gojekyll/config"
|
@ -1,4 +1,4 @@
|
|||||||
package cmd
|
package commands
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
@ -1,4 +1,4 @@
|
|||||||
package cmd
|
package commands
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"strconv"
|
"strconv"
|
@ -1,4 +1,4 @@
|
|||||||
package cmd
|
package commands
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
@ -1,4 +1,4 @@
|
|||||||
package cmd
|
package commands
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
@ -1,4 +1,4 @@
|
|||||||
package cmd
|
package commands
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
4
main.go
4
main.go
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user