Skip to content

Remove Dialects from rootform.lock.

Usage

rootform remove dialects <name>... [options]
SHELL

Options

FlagTypeDefaultDescription
--dry-runboolfalseprint the planned change and write nothing
--embeddedboolfalseexclude the named embedded Dialects from the project
--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 dialects
--colormodeautocolor human output: auto|always|never; default: auto
--no-pagerboolfalseprint a long report in full instead of opening it in less

Behavior

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

Removing a Dialect that replaced an embedded one makes the embedded one active again. With --embedded, each name must instead be an embedded Dialect that no selection replaces; it is excluded from the project.

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, or --embedded names a Dialect that is not embedded or that a selection replaces
4a file or Rootform home operation failed

Examples

rootform remove dialects payments
rootform remove dialects payments billing --dry-run
rootform remove dialects aws --embedded
Shell