Skip to content

Remove Policy Packs from rootform.lock.

Usage

rootform remove policy-packs <name>... [options]
SHELL

Options

FlagTypeDefaultDescription
--dry-runboolfalseprint the planned change and write nothing
--formatstring""output format: text|json; default: text
--projectstring""change rootform.lock and vendored copies in project dir; paths stay relative to the working directory; default: the working directory

Global options

FlagTypeDefaultDescription
-h, --helpboolfalseshow how to use rootform remove policy-packs
--colormodeautocolor human output: auto|always|never; default: auto
--no-pagerboolfalseprint a long report in full instead of opening it in less

Behavior

Remove Policy Packs from rootform.lock by name. Every name must be selected; otherwise nothing changes.

When the project vendors this family under .rootform/, the vendored copy changes together with rootform.lock.

The summary goes to standard output. Diagnostics go to standard error.

Exit status

StatusDescription
0rootform.lock matches the request
1a named selection is absent or the remaining selection is invalid
2the command was used incorrectly
3rootform.lock is invalid
4a file or Rootform home operation failed

Examples

rootform remove policy-packs baseline
rootform remove policy-packs baseline audit
rootform remove policy-packs baseline --format json
Shell