ck-cracker

Crates.iock-cracker
lib.rsck-cracker
version0.13.0
sourcesrc
created_at2024-11-26 15:05:53.112836
updated_at2024-12-07 08:15:36.381987
descriptionCracker is a simple, fast, and plain task runner. Designed with the idea of supporting as many task tools as possible.
homepagehttps://github.com/lloydbond/cracker
repositoryhttps://github.com/lloydbond/cracker
max_upload_size
id1461782
size153,545
Lloyd Bond (lloydbond)

documentation

README

cracker

A rusty ui for exploring and starting tasks. Of course, blazingly fast.

Requirements

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!

Commit count: 16

cargo fmt