pub async fn run(
args: ExportArgs,
config: &Config,
clients: &dyn ChainClientFactory,
) -> Result<()>Expand description
Executes the export command.
§Arguments
args- The parsed command argumentsconfig- Application configuration
§Returns
Returns Ok(()) on success, or an error if the export fails.
§Errors
Returns ScopeError::Export if the export operation fails.
Returns ScopeError::Io if file operations fail.