Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

mw delete

Last updated: 2025-10-22

Synopsis: Remove an object file from the workspace.

Usage

mw [global flags] delete --type <type> <id>
FlagDescription
--typeRequired. Type identifier.
<id>Required positional argument identifying the object to delete.

The command prompts for confirmation unless you pass the global --yes flag.

Place global flags (like --yes or --root) before the command name.

Example

Run the command from the workspace root (or add --root to target another workspace). Delete a user without prompting:

mw --yes delete --type User user-bob

Output:

User user-bob deleted
  • mw list — confirm an object’s identifier before deleting.
  • mw create — recreate an object if you delete the wrong one.


Generated at 2025-10-30 22:44:13 (commit: 3a1f254)