Skip to content

Commit

Permalink
fixes CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubhang Balkundi committed Mar 25, 2024
1 parent 7ed71fd commit 5dc4f76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/ziggurat/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ func main() {
args := os.Args[1:]
usage := `USAGE:
ziggurat new <app_name>`
if len(args) < 1 {
if len(args) < 2 {
die(errors.New(usage))
}
appName := args[0]
d := Data{AppName: appName, Version: "v2.0.2"}
appName := args[1]
d := Data{AppName: appName, Version: "v2.0.3"}
wd, err := os.Getwd()
die(err)

Expand Down

0 comments on commit 5dc4f76

Please sign in to comment.