cardano-cli-8.23.1.0: The Cardano command-line interface
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.CLI.EraBased.Options.Common

Synopsis

Documentation

prefixFlagMaybe StringStringString Source #

prefixFlag Nothing bar is bar, while prefixFlag (Just "foo") bar is foo-bar. This function is used to optionally prefix some long flags

pStakeVerificationKeyOrFileMaybe StringParser (VerificationKeyOrFile StakeKey) Source #

First argument is the optional prefix

pStakeVerificationKeyMaybe StringParser (VerificationKey StakeKey) Source #

The first argument is the optional prefix.

readVerificationKey ∷ ∀ keyrole. SerialiseAsBech32 (VerificationKey keyrole) ⇒ AsType keyrole → ReadM (VerificationKey keyrole) Source #

Read a Bech32 or hex-encoded verification key.

pStakeVerificationKeyFileMaybe StringParser (VerificationKeyFile In) Source #

The first argument is the optional prefix.

pStakePoolVerificationKeyOrFileMaybe StringParser (VerificationKeyOrFile StakePoolKey) Source #

The first argument is the optional prefix.

pStakePoolVerificationKeyMaybe StringParser (VerificationKey StakePoolKey) Source #

The first argument is the optional prefix.

pStakePoolVerificationKeyFileMaybe StringParser (VerificationKeyFile In) Source #

The first argument is the optional prefix.

pColdVerificationKeyOrFileMaybe StringParser ColdVerificationKeyOrFile Source #

The first argument is the optional prefix.

pColdSigningKeyFileParser (File (SigningKey keyrole) direction) Source #

pScriptHash Source #

Arguments

String

long option name

String

help text

Parser ScriptHash 

pCommitteeHotKeyHashMaybe StringParser (Hash CommitteeHotKey) Source #

The first argument is the optional prefix.

pStakeVerificationKeyHashMaybe StringParser (Hash StakeKey) Source #

First argument is the optional prefix

pScriptWitnessFiles Source #

Arguments

∷ ∀ witctx. WitCtx witctx 
BalanceTxExecUnits

Use the execution-units flag.

String

Script flag prefix

Maybe String 
String 
Parser (ScriptWitnessFiles witctx) 

pScriptDataOrFile Source #

Arguments

String

data flag prefix

String

value help text

String

file help text

Parser ScriptDataOrFile 

pQueryOutputFormatStringParser QueryOutputFormat Source #

pQueryOutputFormat kind is a parser to specify in which format to view some data (json or text). kind is the kind of data considered.

pViewOutputFormatStringParser ViewOutputFormat Source #

pViewOutputFormat kind is a parser to specify in which format to view some data (json or yaml). what is the kind of data considered.

pVerificationKey ∷ ∀ keyrole. SerialiseAsBech32 (VerificationKey keyrole) ⇒ AsType keyrole → Parser (VerificationKey keyrole) Source #

pStakePoolVerificationKeyHashMaybe StringParser (Hash StakePoolKey) Source #

First argument is the prefix to use

pFeaturedEon eon ⇒ ToCardanoEra peon ⇒ peon era → Parser a → Parser (Maybe (Featured eon era a)) Source #