Usage
facets.json, deletes their assets from every connected adapter, and rewrites facets.lock without them — in a single command. The inverse of facet add. Aliased as facet rm.
What it does
- Load
facets.json. A missing or invalid manifest fails before any change. - Filter to declared names. Names not in
facets.jsonare silently ignored. If every name is absent, the command exits successfully with no changes. - Commit. Delegate to the install pipeline with the removals delta. The pipeline removes assets using the machine-local install receipt (no cache or network needed for removal), then writes
facets.json,facets.lock, and the receipt together. Every other facet is left untouched. - On any failure, the journal rolls back all changes. The manifest, lockfile, and receipt are never written ahead of success.
Examples
Flags
| Flag | Description |
|---|---|
--verbose | Show detailed step output on stderr. |
Exit codes
| Code | Meaning |
|---|---|
0 | Removal succeeded, or all requested names were already absent from facets.json (no-op). |
1 | Failed (no names given, install failure, etc.). No files are modified on failure. |
See also
facet add— the inverse: add a facet tofacets.jsonand install it in one step.facet install— reapplyfacets.jsonand the lockfile.