Expand description
§tokmd-settings
Tier 0 (Pure Settings)
Clap-free settings types for the scan and format layers. These types mirror CLI arguments without Clap dependencies, making them suitable for FFI boundaries and library consumers.
§What belongs here
- Pure data types with Serde derive
- Scan, language, module, export, analyze, diff settings
- Default values and conversions
§What does NOT belong here
- Clap parsing (use tokmd-config)
- I/O operations
- Business logic
Structs§
- Analyze
Config - Analyze command settings.
- Analyze
Settings - Settings for analysis (
tokmd analyze). - Badge
Config - Badge command settings.
- Cockpit
Settings - Settings for cockpit PR metrics (
tokmd cockpit). - Context
Config - Context command settings.
- Diff
Settings - Settings for diff comparison (
tokmd diff). - Export
Config - Export command settings.
- Export
Settings - Settings for file-level export (
tokmd export). - Gate
Config - Gate command settings.
- Gate
Rule - A single gate policy rule (for inline TOML configuration).
- Lang
Settings - Settings for language summary (
tokmd lang). - Module
Config - Module command settings.
- Module
Settings - Settings for module summary (
tokmd module). - Ratchet
Rule Config - A single ratchet rule for baseline comparison (TOML configuration).
- Scan
Config - Scan settings shared by all commands.
- Scan
Options - Scan options shared by all commands that invoke the scanner.
- Scan
Settings - Global scan settings shared by all operations.
- Toml
Config - Root TOML configuration structure.
- View
Profile - A named view profile that can override settings for specific use cases.
Enums§
Type Aliases§
- Toml
Result - Result type alias for TOML parsing errors.