mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-14 11:44:32 +00:00
21 lines
463 B
Go
21 lines
463 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var remoteCmd = &cobra.Command{
|
|
Use: "remote",
|
|
Short: "Manage set of tracked repositories",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
GroupID: groups[group_manipulator].ID,
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(remoteCmd).Standalone()
|
|
|
|
remoteCmd.Flags().BoolP("verbose", "v", false, "be verbose; must be placed before a subcommand")
|
|
rootCmd.AddCommand(remoteCmd)
|
|
}
|