Skip to content

Commit

Permalink
Merge pull request #613 from tursodatabase/athos/expose-group
Browse files Browse the repository at this point in the history
Remove preview build flag and hide turso group command
  • Loading branch information
athoscouto authored Sep 6, 2023
2 parents a30f165 + dc6066f commit 0c13eea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
8 changes: 3 additions & 5 deletions internal/cmd/group.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build preview
// +build preview

package cmd

import (
Expand All @@ -14,8 +11,9 @@ import (
)

var groupCmd = &cobra.Command{
Use: "group",
Short: "Manage your database groups",
Use: "group",
Short: "Manage your database groups",
Hidden: true,
}

func init() {
Expand Down
1 change: 0 additions & 1 deletion internal/cmd/group_flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ func addGroupFlag(cmd *cobra.Command) {

func addPersistentGroupFlag(cmd *cobra.Command, description string) {
cmd.PersistentFlags().StringVarP(&groupFlag, "group", "g", "", description)
cmd.Flags().MarkHidden("group")
}
3 changes: 0 additions & 3 deletions internal/cmd/group_locations.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build preview
// +build preview

package cmd

import (
Expand Down

0 comments on commit 0c13eea

Please sign in to comment.