Skip to main content

run

Function run 

Source
pub fn run(
    _cli: &Cli,
    root: &str,
    apply: bool,
    force: bool,
    include_user_state: bool,
    json: bool,
) -> Result<()>
Expand description

Entry point for sqry workspace clean.

ยงErrors

Returns an error if the root path is invalid, if --apply removal fails for the entire planned set, or if the JSON renderer fails. Per-entry removal failures are accumulated in WorkspaceCleanReport::errors and do not abort the run.