Repository files navigation
Configuration files - JSON/YAML config with environment variable overrides and profile system (local, CI, release)
CI/CD - Automated checks, multi-platform releases, and code coverage
Test patterns - Example integration tests in tests/
Self-upgrade - Upgrade in-place with built-in upgrade command
Structured logging - Syslog levels and progressive verbosity
Error handling - Type-safe errors with automatic propagation and context
run - Example file processing with structured output
upgrade - Self-upgrade from GitHub releases
Clone this repository to your desired location:
git clone https://github.com/peridio/template-cli-rust.git my-cli
cd my-cli
Remove the existing git history and start fresh:
Run the template replacement script, it will describe usage:
./scripts/replace_templates.sh
Run cargo build to verify everything compiles
Create your own repository and push:
git add .
git commit -m " Initial commit from Rust CLI template"
git remote add origin < your-repository-url>
git push -u origin main
Delete this section and update the README for your project
About
Rust CLI template.
Resources
License
Stars
Watchers
Forks
You can’t perform that action at this time.