usecrate::ops::forc_clean;useanyhow::Result;useclap::Parser;/// Removes the default forc compiler output artifact directory, i.e. `<project-name>/out`. Also
/// calls `cargo clean` which removes the `target` directory generated by `cargo` when running
/// tests.
#[derive(Debug, Parser)]pubstructCommand{/// Path to the project, if not specified, current working directory will be used.
#[clap(short, long)]pubpath:Option<String>,
}pubfnexec(command: Command)->Result<()>{forc_clean::clean(command)}