breath-0.1.5 is not a library.
Breath
A Rust tool for streamlining the process of committing code to Git and Mercurial repositories.
A command-line tool for streamlining the process of committing Rust code to Git and Mercurial repositories. It automates checks like formatting, tests, documentation, dependency audit and provides interactive commit message creation.
Features
- Interactive commit message creation with a conventional commit format
- Pre-commit checks:
- Code compilation check using
cargo check - Code formatting verification with
cargo fmt - Test suite execution via
cargo test - Lint checks using
cargo clippy - Documentation generation with
cargo doc - Dependencies audit through
cargo audit
- Code compilation check using
- User-friendly terminal interface with progress indicators
- Version control workflow automation:
- Staged files preview
- Commit creation
- Optional push to remote
- Clean error reporting with logs stored in
.breathesdirectory - Support for multiple version control systems:
- Git support via
--features git - Mercurial support via
--features hg - Default hooks run with default features
- Git support via
Installation
Git support
cargo install breath --features git
Mercurial support
cargo install breath --features hg
Hooks support
cargo install breath
Usage
Interactive commit message creation
breath
pre-commit hook
#!/bin/sh
&& ||
Coming soon
- Support for other version control systems
Best regards hackia