mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 15:32:53 +00:00
20 lines
553 B
Go
20 lines
553 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var fmt_merge_msgCmd = &cobra.Command{
|
|
Use: "fmt-merge-msg",
|
|
Short: "Produce a merge commit message",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
fmt_merge_msgCmd.Flags().BoolP("file", "F", false, "<file> file to read from")
|
|
fmt_merge_msgCmd.Flags().String("log", "", "populate log with at most <n> entries from shortlog")
|
|
fmt_merge_msgCmd.Flags().BoolP("message", "m", false, "<text> use <text> as start of message")
|
|
rootCmd.AddCommand(fmt_merge_msgCmd)
|
|
}
|