Expand description
§tokmd
Tier 5 (CLI Binary)
This is the entry point for the tokmd command-line application.
It orchestrates all other crates to perform the requested actions.
§What belongs here
- Command line argument parsing
- Configuration loading and profile resolution
- Command dispatch to appropriate handlers
- Error handling and exit codes
§What does NOT belong here
- Business logic (belongs in lower-tier crates)
- Duplicated functionality from other crates
- Complex computation (delegate to appropriate crates)
This crate should contain minimal business logic.
Structs§
- Config
Context - Configuration context combining TOML config, JSON config, and resolved profile.
- Resolved
Config - Resolved configuration combining TOML and JSON sources.
Functions§
- format_
error - resolve_
config - Resolve configuration from context and profile name.
- resolve_
export - resolve_
export_ with_ config - Resolve export args using ConfigContext.
- resolve_
lang - resolve_
lang_ with_ config - Resolve lang args using ConfigContext.
- resolve_
module - resolve_
module_ with_ config - Resolve module args using ConfigContext.
- resolve_
profile - Resolve a JSON profile by name (legacy).
- run