mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-14 11:44:32 +00:00
20 lines
496 B
Go
20 lines
496 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var commit_graphCmd = &cobra.Command{
|
|
Use: "commit-graph",
|
|
Short: "Write and verify Git commit-graph files",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
GroupID: groups[group_low_level_manipulator].ID,
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(commit_graphCmd).Standalone()
|
|
commit_graphCmd.Flags().String("object-dir", "", "The object directory to store the graph")
|
|
rootCmd.AddCommand(commit_graphCmd)
|
|
}
|