aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2023-12-30 23:04:22 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2023-12-30 23:04:22 -0500
commit6a414432a2cc90523eced1dccb3f5060b5252a08 (patch)
tree4c9c06a1cd73ccdad31dbb8f2f7c6b7465631e9b /pkg
parentTweak migrations dir error handling (diff)
downloadcli-6a414432a2cc90523eced1dccb3f5060b5252a08.zip
Add working create, list, and migrate commands
Diffstat (limited to 'pkg')
-rw-r--r--pkg/cli/cli.go2
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()