Skip to main content

execute

Function execute 

Source
pub async fn execute(
    command: Commands,
    client: &MoltbookClient,
) -> Result<(), ApiError>
Expand description

Dispatches the chosen command to its respective implementation function.

This function acts as the central router for the CLI application.