Skip to content

Delete installed Policy Pack versions.

Usage

rootform uninstall policy-packs <name@version>... [options]
SHELL

Options

FlagTypeDefaultDescription
--formatstring""output format: text|json; default: text

Global options

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

Behavior

Delete each named installed version from the Rootform home. The whole request fails before deleting anything when a version is not installed.

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

Exit status

StatusDescription
0every named version was deleted
1a named version is not installed
2the command was used incorrectly
4the Rootform home could not be read or changed

Examples

rootform uninstall policy-packs example@1.0.0
rootform uninstall policy-packs example@1.0.0 example@1.1.0
rootform uninstall policy-packs example@1.0.0 --format json
Shell