stage
nim tasks apply to git hooks
Summary
| Latest Version | 0.3.5 |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-09-01 07:17 |
Tags
Authors
- bung87
Installation
nimble install stage
choosenim install stage
git clone https://github.com/bung87/stage
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| stage | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Dependencies
| Package | Version | Optional |
|---|---|---|
| nim >= | 1.2.4 | No |
| shell >= | 0.4.3 | No |
| cligen >= | 1.3.2 | No |
Source
| Repository | https://github.com/bung87/stage |
|---|---|
| Homepage | https://github.com/bung87/stage |
| Registry Source | nimble_official |
README
stage 
install this package will create pre-commit file under .git/hooks
do nim check,nimpretty to staged files and git add after tasks done.
Usage
Usage:
stage {SUBCMD} [sub-command options & parameters]
where {SUBCMD} is one of:
help print comprehensive or per-cmd help
init init pre commit git hook
ghWorkflow init github workflow file
gitignore init .gitignore
fixStyle fix code style through `nimpretty`
checkError check error through `nim check`
workflow checkError,fixStyle and run git add