Crate genfile

Crate genfile 

Source
Expand description

genfile - CLI for template archive management

This crate provides a command-line interface to genfile_core, enabling users to:

  • Create and manage template archives
  • Add files and define parameters
  • Materialize templates with custom values
  • Pack/unpack portable archives

§Quick Start

# Create portable archive from directory
genfile .pack input::"./my-template" output::"template.json"

# Load and materialize
genfile .archive.load path::"template.json"
genfile .value.set name::"project_name" value::"my-project"
genfile .materialize destination::"./output"

Modules§

commands
Command definitions for genfile CLI
error
Error handling and formatting
handlers
Command handlers for genfile CLI
prelude
Prelude with commonly used items
repl
REPL implementation with enhanced features
state
Archive state management for REPL sessions