cardano-testnet-8.8.0: The cardano full node
Safe HaskellSafe-Inferred
LanguageHaskell2010

Testnet.Process.Cli

Synopsis

Documentation

execCliStdoutToJson Source #

Arguments

:: (FromJSON a, MonadTest m, MonadCatch m, MonadIO m) 
=> ExecConfig

The configuration with which to call the CLI

-> [String]

The CLI command to execute

-> m a 

Call a command of the CLI that returns JSON to stdout. Then parse it, and deserialize it to a Haskell value. Fail the test if a step fails. If your CLI command doesn't support returning JSON to stdout, and needs going through a file instead, probably you should add a similar function to this one.

type KeyGen a = (File (VKey a), File (SKey a)) Source #

newtype File a Source #

Constructors

File 

Fields

Instances

Instances details
Show (File a) Source # 
Instance details

Defined in Testnet.Process.Cli

Methods

showsPrec :: Int -> File a -> ShowS Source #

show :: File a -> String Source #

showList :: [File a] -> ShowS Source #

Eq (File a) Source # 
Instance details

Defined in Testnet.Process.Cli

Methods

(==) :: File a -> File a -> Bool Source #

(/=) :: File a -> File a -> Bool Source #

data VKey a Source #

Verification keys

data SKey a Source #

Signing keys