Skip to content

Commit

Permalink
✨ Add import/export aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Mar 10, 2022
1 parent f9c6e19 commit 2903338
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/dump/dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion cmd/restore/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2903338

Please sign in to comment.