3 releases (breaking)
0.13.0 | Dec 7, 2024 |
---|---|
0.12.0 | Nov 27, 2024 |
0.11.1 | Nov 26, 2024 |
#58 in Build Utils
145 downloads per month
43KB
801 lines
cracker
A rusty ui for exploring and starting tasks. Of course, blazingly fast.
Requirements
- rust-lang >= 1.81.0
Be sure to add $HOME/.cargo/bin/ to your environment PATH variable.
Supports
- Linux
- *macOS
- *Windows Subsystem for Linux (WSL)
* untested, should work.
Installation Methods
Install with cargo
If you haven't isntalled cargo
yet, now's a good time.
Follow the cargo install instructions here
Then run from your terminal.
cargo install ck-cracker
Manual Installation
Clone the repository:
git clone git@github.com:lloydbond/cracker.git
cd cracker
cargo install --path .
Usage
cd /path/to/Makefile
ck
Enable Log messages
Log messages are limited for as the tool reaches a 1.0 release.
RUST_LOG=ck=[warn|info|error|debug] ck
RUST_LOG=ck=debug ck
TODO:
- Asynchronously open Makefile
- handle multi-target Makefile rules
- support commands with streaming data
- example: tail -f /var/log/dmesg.log
- Support additional task runner type build scripts
- npm
- grunt
- taskpy
- etc.
- switch makfile-lossless to PEG for rule target detecion
- seperate task runner support to library
- cracker-tui
- hx/vi compatible keymapping
- add to crates.io
- CICD
Motivation
Who is this For
Quick and easy execution and monitoring of Makefile and other types of runners for your local project. When you need to give a laymon commands to run and they are averse to typing in a terminal.
Note from the maintainer
I've been using this project as a means to learn Rust. Expect improvments and additions as I have time. Any improvements, code style, or feed back will go along way for this project. Any contributions or additions to the supported Task runners as well as UI beautifcations or simplifications are greatly welcomed and appreciated. Happy Coding!
Dependencies
~44–82MB
~1.5M SLoC