diff --git a/cmd/dump/dump.go b/cmd/dump/dump.go index e68fd964..af2e0b10 100644 --- a/cmd/dump/dump.go +++ b/cmd/dump/dump.go @@ -23,7 +23,7 @@ import ( var Command = &cobra.Command{ Use: "dump", - Aliases: []string{"d"}, + Aliases: []string{"d", "export"}, Short: "dump a database to a sql file", PreRunE: preRun, RunE: run, diff --git a/cmd/restore/restore.go b/cmd/restore/restore.go index 6139835c..ca058c4d 100644 --- a/cmd/restore/restore.go +++ b/cmd/restore/restore.go @@ -19,7 +19,7 @@ import ( var Command = &cobra.Command{ Use: "restore", - Aliases: []string{"r"}, + Aliases: []string{"r", "import"}, Short: "restore a database from a sql file", Args: cobra.ExactArgs(1), PreRunE: preRun,