wawandco/ox

Tweak command not found

paganotoni opened this issue · 1 comments

Running ox db --help outputs:

$ ox db --help
[info] Using github.com/wawandco/ox/cmd/ox 

Usage of create:
      --conn string   the name of the connection to use (default "development")
Usage of drop:
      --conn string   the name of the connection to use (default "development")
Usage of reset:
      --conn string   the name of the connection to use (default "development")
Usage of new:
  -f, --force   clear existing folder if found.
Usage of standard/builder:
  -o, --output string   the path the binary will be generated at
      --static          build a static binary using  --ldflags '-linkmode external -extldflags "-static"' (default true)
      --tags strings    tags to pass the go build command
Usage of type:
  -t, --type string   the type of the migration (default "fizz")
[error] unable to find pop config file
[error] subcommand `--help` not found

Seems that it needs a bit of tweaking.

This one is fixed with #25.