[−][src]Crate sc_cli
Substrate CLI library.
Re-exports
pub use structopt; |
Structs
BlockNumber | Wrapper type of |
BuildSpecCmd | The |
CheckBlockCmd | The |
ExecutionStrategies | Execution strategies parameters. |
ExportBlocksCmd | The |
ImportBlocksCmd | The |
ImportParams | Parameters for block import. |
NetworkConfigurationParams | Parameters used to create the network configuration. |
NodeKeyParams | Parameters used to create the |
PruningParams | Parameters to define the pruning mode |
PurgeChainCmd | The |
RevertCmd | The |
RunCmd | The |
SharedParams | Shared parameters used by all |
TransactionPoolParams | Parameters used to create the pool configuration. |
VersionInfo | Executable version. Used to pass version information from the root crate. |
Enums
Error | Error type for the CLI. |
ExecutionStrategy | How to execute blocks |
NodeKeyType | |
Subcommand | All core commands that are provided by default. |
TracingReceiver | |
WasmExecutionMethod | How to execute Wasm runtime code |
Constants
DEFAULT_EXECUTION_BLOCK_CONSTRUCTION | Default value for the |
DEFAULT_EXECUTION_IMPORT_BLOCK | Default value for the |
DEFAULT_EXECUTION_OFFCHAIN_WORKER | Default value for the |
DEFAULT_EXECUTION_OTHER | Default value for the |
DEFAULT_EXECUTION_SYNCING | Default value for the |
Functions
from_args | Helper function used to parse the command line arguments. This is the equivalent of
|
from_iter | Helper function used to parse the command line arguments. This is the equivalent of
|
init | Initialize substrate. This must be done only once. |
init_logger | Initialize the logger |
run_service_until_exit | A helper function that runs an |
run_until_exit | A helper function that runs a future with tokio and stops if the process receives the signal SIGTERM or SIGINT |
try_from_iter | Helper function used to parse the command line arguments. This is the equivalent of
|
Type Definitions
Result | Result type alias for the CLI. |