Crate sc_cli[−][src]
Substrate CLI library.
Re-exports
| pub use arg_enums::*; | 
| pub use structopt; | 
Modules
| arg_enums | |
| utils | subcommand utilities | 
Macros
| with_crypto_scheme | Allows for calling $method with appropriate crypto impl. | 
Structs
| BlockNumberOrHash | Wrapper type that is either a  | 
| BuildSpecCmd | The  | 
| CheckBlockCmd | The  | 
| CryptoSchemeFlag | Optional flag for specifying crypto algorithm | 
| DatabaseParams | Parameters for block import. | 
| ExecutionStrategiesParams | Execution strategies parameters. | 
| ExportBlocksCmd | The  | 
| ExportStateCmd | The  | 
| GenerateCmd | The  | 
| GenerateNodeKeyCmd | The  | 
| GenericNumber | Wrapper type of  | 
| ImportBlocksCmd | The  | 
| ImportParams | Parameters for block import. | 
| InsertKeyCmd | The  | 
| InspectKeyCmd | The  | 
| InspectNodeKeyCmd | The  | 
| KeystoreParams | Parameters of the keystore | 
| LoggerBuilder | A builder that is used to initialize the global logger. | 
| NetworkParams | Parameters used to create the network configuration. | 
| NetworkSchemeFlag | Optional flag for specifying network scheme | 
| NodeKeyParams | Parameters used to create the  | 
| OffchainWorkerParams | Offchain worker related parameters. | 
| OutputTypeFlag | Optional flag for specifying output type | 
| PruningParams | Parameters to define the pruning mode | 
| PurgeChainCmd | The  | 
| RevertCmd | The  | 
| RunCmd | The  | 
| Runner | A Substrate CLI runtime that can be used to run a node or a command | 
| RuntimeVersion | Runtime version.
This should not be thought of as classic Semver (major/minor/tiny).
This triplet have different semantics and mis-interpretation could cause problems.
In particular: bug fixes should result in an increment of  | 
| SharedParams | Shared parameters used by all  | 
| SignCmd | The  | 
| TransactionPoolParams | Parameters used to create the pool configuration. | 
| VanityCmd | The  | 
| VerifyCmd | The  | 
Enums
| Error | Error type for the CLI. | 
| KeySubcommand | Key utilities for the cli. | 
| Role | Role of the local node. | 
Traits
| ChainSpec | Common interface of a chain specification. | 
| CliConfiguration | A trait that allows converting an object to a Configuration | 
| DefaultConfigurationValues | Default configuration values used by Substrate | 
| SubstrateCli | Substrate client CLI | 
Functions
| build_runtime | Build a tokio runtime with all features | 
| generate_node_name | Generate a valid random name for the node | 
| secret_string_from_str | Parse a sercret string, returning a displayable error. | 
Type Definitions
| Result | Result type alias for the CLI. |