fix: add pass remove flag & show name is optional

This commit is contained in:
2022-03-12 09:17:24 +01:00
parent d3e127e5c8
commit 3fbd381f55
2 changed files with 14 additions and 4 deletions

View File

@ -28,6 +28,16 @@ var PassFlag = &cli.BoolFlag{
Destination: &Pass,
}
// PassRemove stores the variable for PassRemoveFlag
var PassRemove bool
// PassRemoveFlag turns on/off removing generated secrets from pass
var PassRemoveFlag = &cli.BoolFlag{
Name: "pass, p",
Usage: "Remove generated secrets from a local pass store",
Destination: &PassRemove,
}
// Force force functionality without asking.
var Force bool