feat(set): --secret flag to mark input as a secret

This commit is contained in:
Lewis Wynne 2025-11-06 23:54:06 +00:00
parent 5cdcc1d3d3
commit 42735143e7
2 changed files with 15 additions and 1 deletions

View file

@ -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"