carapace-bin/completers/git_completer/cmd/check_attr_generated.go
2023-04-12 09:09:14 +02:00

23 lines
733 B
Go

package cmd
import (
"github.com/rsteube/carapace"
"github.com/spf13/cobra"
)
var check_attrCmd = &cobra.Command{
Use: "check-attr",
Short: "Display gitattributes information",
Run: func(cmd *cobra.Command, args []string) {},
GroupID: groups[group_low_level_helper].ID,
}
func init() {
carapace.Gen(check_attrCmd).Standalone()
check_attrCmd.Flags().BoolP("all", "a", false, "report all attributes set on file")
check_attrCmd.Flags().Bool("cached", false, "use .gitattributes only from the index")
check_attrCmd.Flags().Bool("stdin", false, "read file names from stdin")
check_attrCmd.Flags().BoolS("z", "z", false, "terminate input and output records by a NUL character")
rootCmd.AddCommand(check_attrCmd)
}