mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-14 11:44:32 +00:00
21 lines
537 B
Go
21 lines
537 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var notes_pruneCmd = &cobra.Command{
|
|
Use: "prune",
|
|
Short: "Remove all notes for non-existing/unreachable objects",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(notes_pruneCmd).Standalone()
|
|
|
|
notes_pruneCmd.Flags().BoolP("dry-run", "n", false, "Do not remove anything, just report")
|
|
notes_pruneCmd.Flags().BoolP("verbose", "v", false, "When merging notes, be more verbose")
|
|
notesCmd.AddCommand(notes_pruneCmd)
|
|
}
|