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 list

Last updated: 2025-10-22

Synopsis: List object identifiers for a given type, optionally filtered by a field.

Usage

mw [global flags] list --type <type> [--filter key=value]
FlagDescription
--typeRequired. Type identifier to query.
--filterOptional key=value string used to filter objects before listing their IDs. The comparison is a simple string equality check.

Example

Run the command from the workspace root. If you need to operate on another directory, add the global --root flag.

List all posts in the quickstart workspace:

mw list --type Post

Output:

post-001

Filter by author:

mw list --type Post --filter author=user-alice

Output:

post-001
  • mw get — inspect a specific object.
  • mw create — add a new object when an ID is missing.


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