From 2903338ea67145b7c68038af83d34b54d241a220 Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Wed, 9 Mar 2022 19:00:21 -0600 Subject: [PATCH] :sparkles: Add import/export aliases --- cmd/dump/dump.go | 2 +- cmd/restore/restore.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,