mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-14 11:44:32 +00:00
20 lines
445 B
Go
20 lines
445 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var get_tar_commit_idCmd = &cobra.Command{
|
|
Use: "get-tar-commit-id",
|
|
Short: "Extract commit ID from an archive created using git-archive",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
GroupID: groups[group_low_level_interrogator].ID,
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(get_tar_commit_idCmd).Standalone()
|
|
|
|
rootCmd.AddCommand(get_tar_commit_idCmd)
|
|
}
|