Class PassphraseParameters
Inheritance
PassphraseParameters
Implements
Cocona.ICommandParameterSet
Assembly: Libplanet.Extensions.Cocona.dll
Syntax
public class PassphraseParameters : ICommandParameterSet
Properties
|
Improve this Doc
View Source
Passphrase
Declaration
[Option('p', ValueName = "PASSPHRASE", Description = "Take passphrase through this option instead of prompt. Mutually exclusive with --passphrase-file option.")]
[HasDefaultValue]
public string Passphrase { get; set; }
Property Value
|
Improve this Doc
View Source
PassphraseFile
Declaration
[Option(ValueName = "FILE", Description = "Read passphrase from the specified file instead of taking it through prompt. Mutually exclusive with -p/--passphrase option. For standard input, use a hyphen (`-'). For an actual file named a hyphen, prepend `./', i.e., `./-'. Note that the trailing CR/LF is trimmed.")]
[HasDefaultValue]
public string PassphraseFile { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Take(String, String, Boolean)
Declaration
public string Take(string prompt, string retypePrompt = null, bool ignoreStdin = false)
Parameters
Returns
Implements
Cocona.ICommandParameterSet