Skip to content

Commit

Permalink
Add autocomplete to turso group destroy cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
athoscouto committed Sep 11, 2023
1 parent 9480e3c commit c89af91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/group.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ var groupsDestroyCmd = &cobra.Command{
Use: "destroy [group]",
Short: "Destroy a database group",
Args: cobra.ExactArgs(1),
ValidArgsFunction: noFilesArg,
ValidArgsFunction: groupArgs,
RunE: func(cmd *cobra.Command, args []string) error {
cmd.SilenceUsage = true
client, err := createTursoClientFromAccessToken(true)
Expand Down

0 comments on commit c89af91

Please sign in to comment.