Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 1.84 KB

policy-packs.md

File metadata and controls

58 lines (42 loc) · 1.84 KB
title rootform remove policy-packs
description Remove Policy Packs from rootform.lock

Remove Policy Packs from rootform.lock.

Usage

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

Options

Flag Type Default Description
--dry-run bool false print the planned change and write nothing
--format string "" output format: text|json; default: text
--project string "" change rootform.lock and vendored copies in project dir; paths stay relative to the working directory; default: the working directory

Global options

Flag Type Default Description
-h, --help bool false show how to use rootform remove policy-packs
--color mode auto color human output: auto|always|never; default: auto
--no-pager bool false print 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

Status Description
0 rootform.lock matches the request
1 a named selection is absent or the remaining selection is invalid
2 the command was used incorrectly
3 rootform.lock is invalid
4 a 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