clean
sloptor clean [--types] [-n --dry-run] [PATH]Remove build outputs; --types also removes generated editor types.
Options
Section titled “Options”Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
[PATH] |
Project path: a tsconfig file, a directory containing one, or any path to search upward from |
| Flag | Description | Aliases |
|---|---|---|
--types / --no-types |
Also remove the generated editor types (rotor.d.ts and its legacy companions) | |
-n, --dry-run / --no-dry-run |
List what would be removed without deleting anything |
Global flags
Section titled “Global flags”| Flag | Description | Aliases |
|---|---|---|
-v, -V, --version |
Print sloptor's version | |
--color <WHEN> |
When to use colour [auto, always, never] (default: auto) | |
-h, --help |
Print help (see more with '--help') |
Examples
Section titled “Examples”sloptor clean # remove outDir and include/sloptor clean --types # also remove rotor.d.ts and its legacy companionssloptor clean -n # list what would be removed