Development¶
Prerequisites¶
Install development tools:
This installs:
rust- For building the projectuv- For running Python scriptsprek- For pre-commit hooks
Tasks¶
The project uses mise tasks for common operations. Run mise tasks to see all available tasks.
| Task | Description |
|---|---|
mise run build |
Build the release binary |
mise run test |
Run tests |
mise run lint |
Run clippy lints |
mise run format |
Format code |
mise run install-dev |
Install locally for testing |
mise run install-hooks |
Install pre-commit hooks |
mise run generate-registry |
Generate registry.toml from mise's registry |
mise run validate-registry |
Validate registry entries against installed tools |
mise run docs-tools |
Generate tools documentation from registry |
Adding Tools to the Registry¶
If a tool you use isn't in the registry:
- Check if the tool supports completions (usually
tool completion --help) - Add an entry to
registry.toml - Run
mise run validate-registryto verify it works - Submit a PR
Registry Entry Format¶
Some tools use different subcommands or flags: