Function execute_command

Source
pub fn execute_command(command: Commands) -> Result<(), EigenCliError>
Expand description

Executes a CLI command.

§Arguments

  • command - A CLI command which can be Commands::EigenAddress or Commands::EigenKey

§Errors

  • If the command execution fails (EigenCliError).