carapace-bin/completers/git_completer/cmd/commit_tree_generated.go
rsteube b9b0ee9708 fix shorthand only flags
sed magic on flags where shorthand only wasn't yet supported
2020-10-24 00:05:14 +02:00

21 lines
553 B
Go

package cmd
import (
"github.com/spf13/cobra"
)
var commit_treeCmd = &cobra.Command{
Use: "commit-tree",
Short: "Create a new commit object",
Run: func(cmd *cobra.Command, args []string) {
},
}
func init() {
commit_treeCmd.Flags().StringS("F", "F", "", "read commit log message from file")
commit_treeCmd.Flags().StringS("m", "m", "", "commit message")
commit_treeCmd.Flags().StringS("p", "p", "", "id of a parent commit object")
commit_treeCmd.Flags().StringP("gpg-sign", "S", "", "GPG sign commit")
rootCmd.AddCommand(commit_treeCmd)
}