diff --git a/completers/git-clear-soft_completer/cmd/root.go b/completers/git-clear-soft_completer/cmd/root.go new file mode 100644 index 0000000000..8c4f6ac0fa --- /dev/null +++ b/completers/git-clear-soft_completer/cmd/root.go @@ -0,0 +1,22 @@ +package cmd + +import ( + "github.com/carapace-sh/carapace" + "github.com/spf13/cobra" +) + +var rootCmd = &cobra.Command{ + Use: "git-clear-soft", + Short: "Soft clean up a repository", + Long: "https://github.com/tj/git-extras/blob/master/Commands.md#git-clear-soft", + Run: func(cmd *cobra.Command, args []string) {}, +} + +func Execute() error { + return rootCmd.Execute() +} +func init() { + carapace.Gen(rootCmd).Standalone() + + rootCmd.Flags().Bool("help", false, "show help") +} diff --git a/completers/git-clear-soft_completer/main.go b/completers/git-clear-soft_completer/main.go new file mode 100644 index 0000000000..0741f91aed --- /dev/null +++ b/completers/git-clear-soft_completer/main.go @@ -0,0 +1,7 @@ +package main + +import "github.com/carapace-sh/carapace-bin/completers/git-clear-soft_completer/cmd" + +func main() { + cmd.Execute() +}