0
0
forked from toolshed/abra

secret: allow inserting secret from file and add trim flag

This commit is contained in:
2024-06-22 17:28:13 +02:00
committed by decentral1se
parent 40517171f7
commit 6cd331ebd6
3 changed files with 50 additions and 23 deletions

View File

@ -38,6 +38,20 @@ var PassRemoveFlag = &cli.BoolFlag{
Destination: &PassRemove,
}
var File bool
var FileFlag = &cli.BoolFlag{
Name: "file, f",
Usage: "Treat input as a file",
Destination: &File,
}
var Trim bool
var TrimFlag = &cli.BoolFlag{
Name: "trim, t",
Usage: "Trim input",
Destination: &Trim,
}
// Force force functionality without asking.
var Force bool