Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.CLI.Parser
Synopsis
- readerFromAttoParser :: Parser a -> ReadM a
- readFractionAsRational :: ReadM Rational
- readIdOutputFormat :: ReadM (Vary '[FormatBech32, FormatHex])
- readRational :: ReadM Rational
- readRationalUnitInterval :: ReadM Rational
- readStringOfMaxLength :: Int -> ReadM String
- readURIOfMaxLength :: Int -> ReadM Text
- commandWithMetavar :: String -> ParserInfo a -> Mod CommandFields a
- eDNSName :: String -> Either String ByteString
- stringToAnchorScheme :: SupportedSchemes -> String -> Either String AnchorScheme
- deprecatedReadKeyOutputFormat :: ReadM (Vary '[FormatBech32, FormatTextEnvelope])
Documentation
readerFromAttoParser :: Parser a -> ReadM a Source #
readFractionAsRational :: ReadM Rational Source #
readIdOutputFormat :: ReadM (Vary '[FormatBech32, FormatHex]) Source #
readRational :: ReadM Rational Source #
readRationalUnitInterval :: ReadM Rational Source #
readStringOfMaxLength :: Int -> ReadM String Source #
readURIOfMaxLength :: Int -> ReadM Text Source #
commandWithMetavar :: String -> ParserInfo a -> Mod CommandFields a Source #
stringToAnchorScheme :: SupportedSchemes -> String -> Either String AnchorScheme Source #
Converts a string to an AnchorScheme
if it is a valid scheme and is in the
SupportedScheme
list, otherwise it returns Left
.
deprecatedReadKeyOutputFormat :: ReadM (Vary '[FormatBech32, FormatTextEnvelope]) Source #