mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-03-01 15:03:57 +08:00
refactor(spec): remove obsolete dimensions and update CLI options
This commit is contained in:
@@ -302,8 +302,8 @@ export function run(argv: string[]): void {
|
||||
program
|
||||
.command('spec [subcommand] [args...]')
|
||||
.description('Project spec management for conventions and guidelines')
|
||||
.option('--dimension <dim>', 'Target dimension: specs, roadmap, changelog, personal')
|
||||
.option('--context <text>', 'Context text for keyword extraction (CLI mode)')
|
||||
.option('--dimension <dim>', 'Target dimension: specs, personal')
|
||||
.option('--keywords <text>', 'Keywords for spec matching (CLI mode)')
|
||||
.option('--stdin', 'Read input from stdin (Hook mode)')
|
||||
.option('--json', 'Output as JSON')
|
||||
.action((subcommand, args, options) => specCommand(subcommand, args, options));
|
||||
|
||||
@@ -266,7 +266,7 @@ export function filterSpecs(
|
||||
/**
|
||||
* Merge loaded spec content by dimension priority.
|
||||
*
|
||||
* Dimension priority order: personal(1) < changelog(2) < roadmap(3) < specs(4).
|
||||
* Dimension priority order: personal(1) < specs(2).
|
||||
* Within a dimension, specs are ordered by priority weight (critical > high > medium > low).
|
||||
*
|
||||
* @param specs - All loaded specs
|
||||
|
||||
Reference in New Issue
Block a user