# Clone and build (automatically installs pre-commit hooks)
git clone https://github.com/omar16100/atlassian-cli
cd atlassian-cli
cargo buildHooks run automatically on git commit:
- ✅ Code formatting (
cargo fmt) - ✅ Linting (
cargo clippy) - ✅ Unit tests
If hooks fail:
cargo fmt # Fix formatting
cargo clippy --fix # Fix linting
cargo test # Run testsBypass hooks (for WIP commits only):
git commit --no-verify -m "WIP: work in progress"make pre-commit # Run all checks
make quick-check # Format + clippy only
make test # Tests onlyOr using just:
just pre-commit # Run all checks
just quick-check # Format + clippy only
just test # Tests onlyAll PRs must pass:
- Format check
- Clippy lints
- All tests (Linux + macOS)
Runs in ~60-90 seconds (parallel jobs).
- Keep files around 2000 LOC (per CLAUDE.md)
- Add unit tests for new features
- Update todo.md with changes
- Run
cargo fmtbefore committing