Show / Hide Table of Contents

Class PassphraseParameters

Inheritance
Object
PassphraseParameters
Implements
Cocona.ICommandParameterSet
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Libplanet.Extensions.Cocona
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
Type Description
String
| 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
Type Description
String

Methods

| Improve this Doc View Source

Take(String, String, Boolean)

Declaration
public string Take(string prompt, string retypePrompt = null, bool ignoreStdin = false)
Parameters
Type Name Description
String prompt
String retypePrompt
Boolean ignoreStdin
Returns
Type Description
String

Implements

Cocona.ICommandParameterSet
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium