Skip to content

Commit

Permalink
feat(cmd): add aliases for database user management
Browse files Browse the repository at this point in the history
Fixes #1030
  • Loading branch information
curzolapierre committed Jan 24, 2024
1 parent 6845dcf commit 982db6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/databases.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ var (

databaseListUsers = cli.Command{
Name: "database-list-users",
Aliases: []string{"database-users-list"},
Category: "Addons",
Usage: "Print database's users",
Flags: []cli.Flag{&appFlag, &addonFlag},
Expand Down Expand Up @@ -169,6 +170,7 @@ Only available on ` + fmt.Sprintf("%s", dbUsers.SupportedAddons),

databaseDeleteUser = cli.Command{
Name: "database-delete-user",
Aliases: []string{"database-users-delete"},
Category: "Addons",
ArgsUsage: "user",
Usage: "Delete a database's user",
Expand Down Expand Up @@ -203,6 +205,7 @@ Only available on ` + fmt.Sprintf("%s", dbUsers.SupportedAddons),

databaseCreateUser = cli.Command{
Name: "database-create-user",
Aliases: []string{"database-users-create"},
Category: "Addons",
ArgsUsage: "user",
Usage: "Create new database user",
Expand Down

0 comments on commit 982db6d

Please sign in to comment.