gogjango / gjango

golang gin with go-pg orm
Apache License 2.0
42 stars 14 forks source link

Use cobra to implement superadmin and other administrative commands, versus running the server #80

Closed calvinchengx closed 4 years ago

calvinchengx commented 4 years ago

It is rather inconvenient to access the migration cli as a separate app from our main server app.

Let's unify them with spf13/cobra so we can issue consistent command line commands from our project root.

calvinchengx commented 4 years ago

We choose spf13/cobra over urfave/cli because cobra supports subcommands.

calvinchengx commented 4 years ago