# rootform remove

Remove content from rootform.lock

<!-- Generated from reference/cli.json. Run bun run generate:cli; do not edit this page. -->

Remove content from rootform.lock.

## Usage

```text
rootform remove <command> [options]
```

## Options

### Global options

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| ` -h, --help ` | ` bool ` | ` false ` | show how to use rootform remove |
| ` --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

Drop selected Dialects or Policy Packs from this project, or exclude an
embedded Dialect.

## Exit status

| Status | Description |
| --- | --- |
| `0` | help was shown |
| `2` | the command was used incorrectly |

## Subcommands

| Command | Purpose |
| --- | --- |
| [` rootform remove dialects `](https://docs.rootform.dev/reference/cli/remove/dialects/) | Remove Dialects from rootform.lock |
| [` rootform remove policy-packs `](https://docs.rootform.dev/reference/cli/remove/policy-packs/) | Remove Policy Packs from rootform.lock |

## Examples

```sh
rootform remove dialects payments
rootform remove dialects payments billing --dry-run
rootform remove dialects aws --embedded
rootform remove policy-packs baseline
rootform remove policy-packs baseline audit
rootform remove policy-packs baseline --format json
```
