Expand description
Command-line interface definition for Fob bundler.
This module defines the complete CLI structure using clap v4’s derive macros. It provides type-safe argument parsing with comprehensive validation and clear error messages.
§Command Structure
fob build- Bundle JavaScript/TypeScript with full configurationfob dev- Development server with watch mode (planned)fob init- Project scaffolding (planned)fob check- Configuration validation (planned)
Re-exports§
pub use enums::*;
Modules§
Structs§
- Build
Args - Arguments for the build command
- Check
Args - Arguments for the check command (configuration validation)
- Cli
- Fob - A modern JavaScript/TypeScript bundler
- DevArgs
- Arguments for the dev command (development server)
- Init
Args - Arguments for the init command (project scaffolding)
Enums§
- Command
- Available Fob subcommands
Functions§
- parse_
global - Parse and validate a global variable name for IIFE bundles.