[][src]Function sc_cli::init

pub fn init(logger_pattern: &str, version: &VersionInfo) -> Result<()>

Initialize substrate. This must be done only once.

This method:

  1. Set the panic handler
  2. Raise the FD limit
  3. Initialize the logger