Skip to content

Commit

Permalink
Merge pull request #2492 from carapace-sh/git-pack-redundant
Browse files Browse the repository at this point in the history
git: pack-redundant
  • Loading branch information
rsteube authored Aug 16, 2024
2 parents b99b27b + 26bec76 commit 4a70aa8
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 4a70aa8

Please sign in to comment.