Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
-
data
AppConfig
=
AppConfig
{
- acLogConfigPath :: Maybe FilePath
- acMinLogLevel :: Maybe Severity
- acConfigPath :: Maybe FilePath
- acCLIConfigOverrides :: CLIConfigOverrides
- acCommand :: Command
-
data
Command
-
=
DumpDefaultConfig
{
- dumpConfigPath :: ! FilePath
- | DumpDefaultLoggingConfig { }
- | StartChainIndex
-
=
DumpDefaultConfig
{
- data CLIConfigOverrides = CLIConfigOverrides { }
- applyOverrides :: CLIConfigOverrides -> ChainIndexConfig -> ChainIndexConfig
- cmdWithHelpParser :: ParserInfo AppConfig
Documentation
AppConfig | |
|
Configuration
DumpDefaultConfig |
Write default chain index configuration |
|
|
DumpDefaultLoggingConfig |
Write default logging configuration |
StartChainIndex |
Start the chain index and connect it to a cardano node |
data CLIConfigOverrides Source #
Instances
Eq CLIConfigOverrides Source # | |
Defined in Plutus.ChainIndex.CommandLine (==) :: CLIConfigOverrides -> CLIConfigOverrides -> Bool Source # (/=) :: CLIConfigOverrides -> CLIConfigOverrides -> Bool Source # |
|
Ord CLIConfigOverrides Source # | |
Defined in Plutus.ChainIndex.CommandLine compare :: CLIConfigOverrides -> CLIConfigOverrides -> Ordering Source # (<) :: CLIConfigOverrides -> CLIConfigOverrides -> Bool Source # (<=) :: CLIConfigOverrides -> CLIConfigOverrides -> Bool Source # (>) :: CLIConfigOverrides -> CLIConfigOverrides -> Bool Source # (>=) :: CLIConfigOverrides -> CLIConfigOverrides -> Bool Source # max :: CLIConfigOverrides -> CLIConfigOverrides -> CLIConfigOverrides Source # min :: CLIConfigOverrides -> CLIConfigOverrides -> CLIConfigOverrides Source # |
|
Show CLIConfigOverrides Source # | |
Defined in Plutus.ChainIndex.CommandLine |
applyOverrides :: CLIConfigOverrides -> ChainIndexConfig -> ChainIndexConfig Source #
Apply the CLI soverrides to the
ChainIndexConfig