diff --git a/completers/git_completer/cmd/packRedundant.go b/completers/git_completer/cmd/packRedundant.go new file mode 100644 index 0000000000..3f04604c25 --- /dev/null +++ b/completers/git_completer/cmd/packRedundant.go @@ -0,0 +1,22 @@ +package cmd + +import ( + "github.com/carapace-sh/carapace" + "github.com/spf13/cobra" +) + +var packRedundantCmd = &cobra.Command{ + Use: "pack-redundant", + Short: "Find redundant pack files", + Run: func(cmd *cobra.Command, args []string) {}, + GroupID: groups[group_low_level_interrogator].ID, +} + +func init() { + carapace.Gen(packRedundantCmd).Standalone() + + packRedundantCmd.Flags().Bool("all", false, "processes all packs") + packRedundantCmd.Flags().Bool("alt-odb", false, "don’t require objects from alternate odb to be present") + packRedundantCmd.Flags().Bool("verbose", false, "outputs some statistics to stderr") + rootCmd.AddCommand(packRedundantCmd) +} diff --git a/completers/git_completer/cmd/pack_redundant_generated.go b/completers/git_completer/cmd/pack_redundant_generated.go deleted file mode 100644 index 2337c61d0e..0000000000 --- a/completers/git_completer/cmd/pack_redundant_generated.go +++ /dev/null @@ -1,19 +0,0 @@ -package cmd - -import ( - "github.com/carapace-sh/carapace" - "github.com/spf13/cobra" -) - -var pack_redundantCmd = &cobra.Command{ - Use: "pack-redundant", - Short: "Find redundant pack files", - Run: func(cmd *cobra.Command, args []string) {}, - GroupID: groups[group_low_level_interrogator].ID, -} - -func init() { - carapace.Gen(pack_redundantCmd).Standalone() - - rootCmd.AddCommand(pack_redundantCmd) -}