8000 GitHub - lloydbond/cracker-py
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lloydbond/cracker-py

Repository files navigation

cracker

cracker

A plain and simple termainl ui for exploring, monitoring, and starting tasks. Makes use of exisiting task runners like Makefile, npm, and others.

Requirements

Supports

  • Linux
  • *macOS
  • *Windows Subsystem for Linux (WSL)

* untested, should work.

Installation Methods

Install with python

If you haven't isntalled python yet, now's a good time. Follow the python install instructions here Then run from your terminal.

cargo install ck-cracker

Manual Installation

Ensure you have poetry installed from here

Clone the repository:

git clone git@github.com:lloydbond/cracker-py.git
cd cracker-py
poetry env use 3.12.8
poetry shell
poetry install
poetry build
*optional* deactivate
pip install dist/cracker-`poetry version | cut -d ' ' -f 2`-py3-none-any.whl
textual run --dev src/cracker/__main__.py --log=DEBUG -- Makefile

Usage

  cd /path/to/with/Makefile|justfile|package.json
  ck

Enable Log messages

Log messages are limited for as the tool reaches a 1.0 release.

  ck --log=[warn|info|error|debug|critical]

  ck --log=debug

TODO:

  • Support additional task runner type build scripts
    • npm
    • justfile
    • grunt
    • taskpy
    • etc.
  • performance imporvements for something like cat my_massive_200million_line.log
    • probably not usefule but a known limitation *
  • hx/vi compatible keymapping
  • add to pypi.org
  • 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

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!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

0