Skip to content

Commit

Permalink
🎨 Tweak command definition formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Mar 10, 2022
1 parent 61ff80b commit dd6def7
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions cmd/restore/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ import (
)

var Command = &cobra.Command{
Use: "restore",
Aliases: []string{"r", "import"},
Short: "restore a database from a sql file",
Use: "restore",
Aliases: []string{"r", "import"},
Short: "restore a database from a sql file",

Args: cobra.ExactArgs(1),
PreRunE: preRun,
RunE: run,
ValidArgsFunction: validArgs,

PreRunE: preRun,
RunE: run,
}

var (
Expand Down

0 comments on commit dd6def7

Please sign in to comment.