diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2023-12-30 23:04:22 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2023-12-30 23:04:22 -0500 |
| commit | 6a414432a2cc90523eced1dccb3f5060b5252a08 (patch) | |
| tree | 4c9c06a1cd73ccdad31dbb8f2f7c6b7465631e9b /pkg | |
| parent | Tweak migrations dir error handling (diff) | |
| download | cli-6a414432a2cc90523eced1dccb3f5060b5252a08.zip | |
Add working create, list, and migrate commands
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/cli/cli.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/cli/cli.go b/pkg/cli/cli.go index bbbd8d1..0ce67be 100644 --- a/pkg/cli/cli.go +++ b/pkg/cli/cli.go @@ -12,7 +12,9 @@ func Run() int { subcommands.Register(subcommands.HelpCommand(), "") subcommands.Register(subcommands.FlagsCommand(), "") subcommands.Register(subcommands.CommandsCommand(), "") + subcommands.Register(&commands.CreateCmd{}, "") subcommands.Register(&commands.MigrateCmd{}, "") + subcommands.Register(&commands.ListCmd{}, "") flag.Parse() ctx := context.Background() |