package internal type ( CommonArgs struct { Version bool `short:"v" long:"version" description:"Print the version and exit."` DetailVersion bool `short:"V" long:"detail" description:"Print detailed version info and exit."` DoDebug bool `env:"VTOTP_DEBUG" short:"d" long:"debug" description:"If specified, enable debug logging. This may log potentially sensitive information, so be careful."` VaultArgs `group:"Common Vault Options" env-namespace:"VAULT" namespace:"vault"` } VaultArgs struct { Insecure bool `env:"SKIP_VERIFY" short:"S" long:"insecure" description:"If specified and -u/--uri is using HTTPS, do not require TLS verification (self-signed certificates, etc.)"` Token string `env:"TOKEN" short:"t" long:"token" description:"Vault token to use. If empty/not defined, you will be securely prompted."` Addr string `env:"ADDR" short:"a" long:"addr" default:"https://clandestine.r00t2.io/" description:"Vault address to use."` SniName *string `env:"TLS_SERVER_NAME" short:"S" long:"sni" description:"If specified, use this as the SNI name instead of the host from -a/--addr."` } )