Skip to main content

inject

Function inject 

Source
pub(super) async fn inject(
    state: &AppState,
    agent_block_id: &str,
    auth: Option<&UiAutomationAuth>,
    wanted: Wanted<'_>,
    remote: bool,
    cmd: &str,
    cwd: &str,
    preapproved: Option<&Preapproved>,
) -> Result<Option<Injected>, (StatusCode, String)>
Expand description

Resolves, asks for and reads the entries a command was given. None when it was given none.