Module output_control

Module output_control 

Source
Expand description

Output control utilities for MockForge generation

This module provides functionality for:

  • Generating barrel/index files
  • Applying file extensions and banners
  • Customizing file naming patterns

Structs§

BarrelGenerator
Generate barrel/index files for a directory structure
FileNamingContext
Context for file naming templates extracted from OpenAPI spec
GeneratedFile
Represents a generated file with metadata

Functions§

apply_banner
Apply banner to file content
apply_extension
Apply file extension override
apply_file_naming_template
Apply file naming template
build_file_naming_context
Build file naming context from OpenAPI specification
process_generated_file
Process generated files with output control options