Expand description
CLI command definitions and argument parsing.
This module contains all command-line interface structures for the HEDL CLI, organized into logical categories for better maintainability.
§Organization
Commands are organized into the following modules:
- [
core]: Core commands (validate, format, lint, inspect, stats) - [
conversion]: Format conversion commands (JSON, YAML, XML, CSV, Parquet) - [
batch]: Batch processing commands (batch-validate, batch-format, batch-lint) - [
utility]: Utility commands (completion)
§Design Principles
- Single Responsibility: Each submodule handles one category of commands
- Consistent API: All commands follow the same argument patterns
- Type Safety: Strongly typed arguments with validation
- Extensibility: Easy to add new commands within existing categories
Enums§
- Batch
Commands - Batch processing commands.
- Commands
- Top-level CLI commands enum.
- Conversion
Commands - Format conversion commands.
- Core
Commands - Core HEDL commands.
- Utility
Commands - Utility commands.