Skip to main content

create

Function create 

Source
pub async fn create(
    session: &mut SessionFile,
    session_path: &Path,
    input: ReportCreateInput,
) -> Result<CreateReportResponse, CliError>
Expand description

Submit the report. Mutates session in place on a mid-call token refresh and persists the rotation atomically before returning. session_path is the SAME path the caller loaded from, so the file on disk stays in sync.