Skip to main content

serve

Function serve 

Source
pub async fn serve(
    st: &AppState,
    command: &Command,
    arg: &str,
    session: Option<&str>,
) -> Answer
Expand description

Run one command and answer it. arg is the text after the word, trimmed, exactly as parse gives it; session is the session the composer is holding, if any.