mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 15:32:53 +00:00
22 lines
685 B
Go
22 lines
685 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var quiltimportCmd = &cobra.Command{
|
|
Use: "quiltimport",
|
|
Short: "Applies a quilt patchset onto the current branch",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
quiltimportCmd.Flags().String("author", "", "author name and email address for patches without any")
|
|
quiltimportCmd.Flags().Bool("keep-non-patch", false, "Pass -b to git mailinfo")
|
|
quiltimportCmd.Flags().BoolP("dry-run", "n", false, "dry run")
|
|
quiltimportCmd.Flags().String("patches", "", "path to the quilt patches")
|
|
quiltimportCmd.Flags().String("series", "", "path to the quilt series file")
|
|
rootCmd.AddCommand(quiltimportCmd)
|
|
}
|