Skip to main content

Crate tokmd

Crate tokmd 

Source
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.

Re-exports§

pub use config::ConfigContext;
pub use config::ResolvedConfig;
pub use config::resolve_config;
pub use config::resolve_export;
pub use config::resolve_export_with_config;
pub use config::resolve_lang;
pub use config::resolve_lang_with_config;
pub use config::resolve_module;
pub use config::resolve_module_with_config;
pub use config::resolve_profile;

Modules§

cli
CLI schema and parsing types.
config

Functions§

format_error
run