Module commands

Module commands 

Source
Expand description

CLI command implementations

Constants§

DEFAULT_MAX_FILE_SIZE
Default maximum file size to prevent OOM attacks (1 GB) Can be overridden via HEDL_MAX_FILE_SIZE environment variable

Functions§

batch_format
Batch format multiple HEDL files to canonical form.
batch_format_with_config
Batch format with custom configuration.
batch_lint
Batch lint multiple HEDL files for best practices and style issues.
batch_lint_with_config
Batch lint with custom configuration.
batch_validate
Batch validate multiple HEDL files.
batch_validate_with_config
Batch validate with custom configuration.
format
Format a HEDL file to canonical form.
from_csv
Convert a CSV file to HEDL format.
from_json
Convert a JSON file to HEDL format.
from_parquet
Convert a Parquet file to HEDL format.
from_toon
Convert a TOON file to HEDL format.
from_xml
Convert an XML file to HEDL format.
from_yaml
Convert a YAML file to HEDL format.
generate_completion_for_command
Generate shell completion script to stdout for a given command.
inspect
Inspect and visualize the internal structure of a HEDL file.
lint
Lint a HEDL file for best practices and style issues.
print_installation_instructions
Print installation instructions for shell completions.
read_file
Read a file from disk with size validation.
stats
Generate comprehensive size and efficiency statistics for a HEDL file.
to_csv
Convert a HEDL file to CSV format.
to_json
Convert a HEDL file to JSON format.
to_parquet
Convert a HEDL file to Parquet format.
to_toon
Convert a HEDL file to TOON format.
to_xml
Convert a HEDL file to XML format.
to_yaml
Convert a HEDL file to YAML format.
validate
Validate a HEDL file for syntax and structural correctness.
write_output
Write content to a file or stdout.