Skip to main content

run_command

Function run_command 

Source
pub async fn run_command(
    hashiverse_client: &HashiverseClient,
    command: &Command,
    json: bool,
) -> Result<String>
Expand description

Runs one command and returns its output, formatted as text or JSON. Shared by the one-shot entry point and the REPL.