fix tests/integration/recipe_new.bats

This commit is contained in:
2024-02-23 12:34:59 +01:00
parent b6b0808066
commit 0aac464ded
4 changed files with 31 additions and 9 deletions

View File

@ -238,6 +238,22 @@ var RemoteUserFlag = &cli.StringFlag{
Destination: &RemoteUser,
}
var GitUser string
var GitUserFlag = &cli.StringFlag{
Name: "git-user, gu",
Value: "",
Usage: "Git user name to do commits with",
Destination: &GitUser,
}
var GitEmail string
var GitEmailFlag = &cli.StringFlag{
Name: "git-email, ge",
Value: "",
Usage: "Git email name to do commits with",
Destination: &GitEmail,
}
// SubCommandBefore wires up pre-action machinery (e.g. --debug handling).
func SubCommandBefore(c *cli.Context) error {
if Debug {