Skip to content

Commit

Permalink
git: pack-redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Aug 15, 2024
1 parent da21659 commit 26bec76
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 19 deletions.
22 changes: 22 additions & 0 deletions completers/git_completer/cmd/packRedundant.go
Original file line number Diff line number Diff line change
@@ -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)
}
19 changes: 0 additions & 19 deletions completers/git_completer/cmd/pack_redundant_generated.go

This file was deleted.

0 comments on commit 26bec76

Please sign in to comment.