Module commands

Source
Expand description

Custom Commands System

This module provides support for user-defined command templates with parameter substitution, supporting both user and project-level commands with markdown file parsing.

§Features

  • Markdown Command Files: Commands defined in .md files with frontmatter
  • Parameter Substitution: $PARAMETER syntax for dynamic content
  • User & Project Commands: Support for both global and project-specific commands
  • Auto-Discovery: Automatic scanning of command directories
  • Template Execution: Integration with CoderLib’s AI processing pipeline

Re-exports§

pub use parser::CommandParser;
pub use discovery::CommandDiscovery;
pub use manager::CommandManagerImpl;

Modules§

discovery
Command discovery for finding command files in various directories
manager
Command manager implementation for handling custom commands
parser
Command file parser for markdown-based command definitions
utils
Utility functions for command system

Structs§

CommandConfig
Configuration for command system
CommandExecution
Result of command execution with resolved content
CommandParameter
Command parameter definition
CustomCommand
Custom command definition

Enums§

CommandError
Command-related errors
CommandType
Type of custom command

Traits§

CommandManager
Trait for managing custom commands