Listing OpenSpec Items
Purpose
Provides visibility into the current state of OpenSpec artifacts (changes and specs) within the project.
1. Safety & Verification
- •Check Help: Run
npx @fission-ai/openspec@latest list --help.
2. Common Workflows
Workflow: List Active Changes
- •Run
npx @fission-ai/openspec@latest list(defaults to changes). - •By default, items are sorted by recent activity.
Workflow: List All Specifications
- •Run
npx @fission-ai/openspec@latest list --specs.
Workflow: Programmatic Listing
- •Use
--jsonfor structured output:npx @fission-ai/openspec@latest list --json
3. Examples
Example: List Specs Sorted by Name
Command: npx @fission-ai/openspec@latest list --specs --sort name
Expected Output: A list of all specifications in alphabetical order.