Closed daskol closed 1 year ago
May be add the "secret" argument and do not print default anymore?
What is it? A type, a keyword argument?
I imagine this like keyword argument. But your question really useful. May be argclass.Secret
will be good enough. Or it's might be a shortcut for argclass.Argument(..., secret=True)
, anyway right now I'm on vacation, if you want to implement it your are welcome.
I see what I can do.
Printing long values and secrets in particular seems to be an anti-pattern. It would be great to at least mask secrets somehow See example below.