Skip to content

Cli

Auto-generated area overview. Hand-edit .usm/features/cli.usm to override this.

This area contains 15 features related to cli within the Cli product.

Sub-features

FeatureTypeRoutesDescription
config-outputsfeature2 APIConfigurable output paths in usmconfig.json and simplified command convention. Generators read outpu
docs-serve-port-checkfeature4 APIAdd port availability checking, already-serving detection, watch mode for auto-regeneration, gracefu
docsfeature4 APIusm docs serve and usm docs build — serves generated docs locally via VitePress dev server with live
enrichfeature1 APIThe usm enrich command fills in TODO: describe placeholders in .usm files using an LLM (LiteLLM, Ope
feedbackfeature0The usm feedback command configures the agent feedback policy in system.usm — interactive setup or n
generatefeature1 APIThe usm generate command reads all .usm files and produces markdown, OpenAPI, Mermaid, ArchiMate, TO
initfeature1 APIThe usm init command analyzes the repo and generates a starter usmconfig.json.
internal-dsl-builderfeature3 APIFluent typed TypeScript builder (internal DSL, per Fowler) that compiles to validated .usm YAML — de
multi-lang-scanfeature13 APIMulti-language scanner support — extend usm scan to detect services, routes, and data models from 10
query-layerfeature3 APIPredicate query language over .usm data — a tiny expression grammar (selectors, comparisons, and/or/
scaffold-projectfeature1 APIThe usm scaffold-project command generates a starter .usm/ directory for single-app, monorepo-sub, o
scaffoldfeature1 APIThe usm scaffold command creates a new .usm file with a template for system, service, or feature typ
scanfeature1 APIThe usm scan command reads usmconfig.json, scans the codebase, and generates .usm files for services
upgradefeature3 APIusm upgrade — detect stale USM projects and guide users through adopting new optional capabilities (
validatefeature1 APIThe usm validate command checks .usm files against the v1 JSON Schema and reports errors.

Implementation

  • 0 pages, 39 API endpoints across 15 features