{-# LANGUAGE GADTs #-}
module Cardano.CLI.Commands
( ClientCommand (..)
)
where
import Cardano.CLI.Byron.Commands (ByronCommand)
import Cardano.CLI.Commands.Address
import Cardano.CLI.Commands.Debug
import Cardano.CLI.Commands.Hash (HashCmds)
import Cardano.CLI.Commands.Key
import Cardano.CLI.Commands.Node
import Cardano.CLI.Commands.Ping (PingCmd (..))
import Cardano.CLI.Compatible.Commands
import Cardano.CLI.EraBased.Commands.Query
import Cardano.CLI.EraBased.Commands.TopLevelCommands
import Cardano.CLI.Legacy.Commands
import Options.Applicative.Types (ParserInfo (..), ParserPrefs (..))
data ClientCommand
= AnyEraCommand AnyEraCommand
| AddressCommand AddressCmds
|
ByronCommand ByronCommand
|
CompatibleCommands AnyCompatibleCommand
|
HashCmds HashCmds
|
KeyCommands KeyCmds
|
NodeCommands NodeCmds
|
forall era. QueryCommands (QueryCmds era)
|
LegacyCmds LegacyCmds
| CliPingCommand PingCmd
| CliDebugCmds DebugCmds
| forall a. Help ParserPrefs (ParserInfo a)
| DisplayVersion