mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-14 11:44:32 +00:00
21 lines
443 B
Go
21 lines
443 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var submoduleCmd = &cobra.Command{
|
|
Use: "submodule",
|
|
Short: "Only print error messages",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
GroupID: groups[group_main].ID,
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(submoduleCmd).Standalone()
|
|
submoduleCmd.PersistentFlags().Bool("quiet", false, "Only print error messages")
|
|
|
|
rootCmd.AddCommand(submoduleCmd)
|
|
}
|