feat(set): --secret flag to mark input as a secret
This commit is contained in:
parent
5cdcc1d3d3
commit
42735143e7
2 changed files with 15 additions and 1 deletions
|
|
@ -38,6 +38,10 @@ type errNotFound struct {
|
|||
suggestions []string
|
||||
}
|
||||
|
||||
const (
|
||||
metaSecret byte = 0x1
|
||||
)
|
||||
|
||||
func (err errNotFound) Error() string {
|
||||
if len(err.suggestions) == 0 {
|
||||
return "no suggestions found"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue