Function noosphere_cli::invoke_cli

source ·
pub async fn invoke_cli(cli: Cli, workspace: Workspace) -> Result<()>
Expand description

Invoke the CLI implementation imperatively. This is the entrypoint used by orb when handling a command line invocation. The Cli is produced by parsing the command line arguments, and the Workspace is initialized from the current working directory. The effect of invoking the CLI this way will depend on the Cli and Workspace provided (results may vary significantly depending on those inputs).