Skip to content

models:teardown

Terminal window
rai models:teardown [OPTIONS]

Drop the current model or branch and all its data.

Targets the current model (deployment.schema, set via rai models switch) and resets deployment.schema to its parent (or clears it if the model had no parent).

Options

OptionTypeDescription
--forceBooleanActually perform the teardown. Without it, the command only prints what would be dropped. Default: False.
--allow-unmergedBooleanTear down even if the branch has unmerged changes (discards them). Default: False.
--allow-childrenBooleanTear down even if downstream branches exist (orphans them). Default: False.

See Also