Mask is a command-line task runner written in Rust that enables developers to define executable commands within Markdown documents. It combines project documentation and automation scripts into a single human-readable configuration file. Markdown headings establish command names, while code blocks contain the corresponding executable instructions. The application supports multiple scripting languages, including Bash, Python, JavaScript, Ruby, and PHP. Developers can define required and optional positional arguments, named flags, and nested subcommands. Automatic argument validation and generated help documentation simplify command usage. Its cross-platform architecture makes it suitable for automating build processes, testing procedures, deployment operations, and repetitive development tasks.
Features
- Markdown-based task definitions combining executable scripts with project documentation
- Multiple scripting runtime support including Bash, Python, Node.js, Ruby, and PHP
- Configurable required and optional positional arguments with environment variable injection
- Named command flags with automatic type checking and value validation
- Hierarchical subcommand organization through nested Markdown heading structures
- Automatically generated command help with cross-platform task execution support