diff --git a/examples/manpages/markdown-schema-validation.1.md b/examples/manpages/markdown-schema-validation.1.md index 759cca72..bd9a929a 100644 --- a/examples/manpages/markdown-schema-validation.1.md +++ b/examples/manpages/markdown-schema-validation.1.md @@ -27,6 +27,106 @@ MarkiTect parses markdown files into an AST representation, then validates the A Schemas validate structure, not semantics. A document can pass validation while containing incorrect content, as long as the structure matches the schema. +## OPTIONS + +### Validation Options + +**--schema** *PATH*, **-s** *PATH* +: Path to JSON schema file for validation +: Used with **validate** command to specify schema location + +**--schema-json** *TEXT* +: JSON schema provided as inline string +: Alternative to --schema for programmatic use +: Useful for testing or dynamic schema generation + +**--detailed-errors**, **--errors** +: Show detailed validation errors with line numbers +: Provides specific locations and descriptions of failures +: Essential for debugging complex schema validation issues + +**--error-format** *FORMAT* +: Format for error output: **text**, **json**, or **markdown** +: Default: **text** +: JSON format useful for CI/CD pipeline integration +: Markdown format for inclusion in documentation + +**--quiet**, **-q** +: Only output validation result (true/false) +: Suppresses all other output for scripting +: Exit code indicates success (0) or failure (non-zero) + +### Schema Generation Options + +**--output** *PATH*, **-o** *PATH* +: Output file path for generated schema or document +: Used with **schema-generate** and **generate-stub** commands +: If omitted, outputs to stdout + +**--style** *STYLE* +: Placeholder content style for **generate-stub** command +: Options: **default**, **custom**, **detailed** +: Affects the verbosity of generated stub content + +**--title** *TEXT* +: Custom document title for generated stubs +: Overrides default title derived from schema +: Useful for creating multiple documents from one schema + +### Schema Management Options + +**--schema-list** +: List all available schemas in the library +: Shows schema names and descriptions +: Helps discover reusable schema patterns + +**--schema-info** *SCHEMA_NAME* +: Display detailed information about a specific schema +: Shows schema structure, requirements, and metadata +: Useful for understanding schema capabilities before use + +**--schema-delete** *SCHEMA_NAME* +: Remove a schema from the library +: Requires confirmation unless **--confirm** flag is used +: Irreversible operation - use with caution + +**--confirm** +: Skip confirmation prompts for destructive operations +: Used with **schema-delete** and similar commands +: Useful for automation scripts + +### Phase 2 Schema Refinement Options + +**--verbose**, **-v** +: Show detailed analysis with current and suggested values +: Used with **schema-analyze** command +: Provides comprehensive rigidity assessment + +**--dry-run** +: Preview refinement changes without applying them +: Used with **schema-refine** command +: Allows review before modifying schemas + +**--interactive**, **-i** +: Prompt for each refinement interactively +: Used with **schema-refine** command +: Provides fine-grained control over applied fixes + +**--loosen-counts** +: Convert exact counts to flexible ranges (default: enabled) +: Part of schema refinement process +: Can be disabled with **--no-loosen-counts** + +**--round-numbers** +: Round overly specific numbers (default: enabled) +: Improves schema reusability +: Can be disabled with **--no-round-numbers** + +**--migrate-deprecated** +: Document deprecated extension usage +: Helps identify schemas needing manual migration +: Does not automatically migrate (too risky) + ## SCHEMA STRUCTURE ### JSON Schema Format