Skip to main content

A CLI toolkit to improve development workflow.

Project description

Minkar

Minkar is a Python CLI toolkit built with Typer to improve development workflow. It helps with common developer tasks from merging source files to managing frequently used shell commands.

Installation

pip install minkar

or from source:

git clone https://github.com/Waland2/Minkar.git
cd minkar
pip install .

Features

  • minkar get code - merge project source files into a single text, with extension filters, exclusion rules, and statistics.
  • minkar get dir - shows the project folder tree in either indented form or using bars (├──, └──).
  • minkar get file - create a .zip archive of a directory with include/exclude rules.
  • minkar cmd - save, edit, delete, and run custom shell commands with argument placeholders.

Usage examples

Merge all Python and JavaScript files in a project and copy to clipboard:

minkar get code --langs py,js --recursive

Print directory tree with files:

minkar get dir --include-files --bars

Create a zip archive with only .py files:

minkar get file --match "\.py" --output code.zip

Save and run a shell command:

minkar cmd save "git status" --name gst
minkar cmd run gst

CLI Structure

  • minkar get - project information utilities:
    • code - merge source files
    • dir - print directory tree
    • file - create zip archives
  • minkar cmd - shell command manager:
    • save - save a command
    • run - execute a command
    • edit - update a command
    • delete - remove a command
    • delete-all - remove all commands
    • list - list all saved commands

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minkar-0.3.2.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minkar-0.3.2-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file minkar-0.3.2.tar.gz.

File metadata

  • Download URL: minkar-0.3.2.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for minkar-0.3.2.tar.gz
Algorithm Hash digest
SHA256 c6d8f1ac61ff5057c9c877a46bccf3250526398588dcbb320af8ccc713989757
MD5 623bd8ecbcfea82da755cdba330044f1
BLAKE2b-256 cbbf26beb9793a2565812ce9818a3579947e54072b077ef49ba2c88cb8cbe8c4

See more details on using hashes here.

File details

Details for the file minkar-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: minkar-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for minkar-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c2b0e093491a4af8f9efac55b7f91c21860c12554b064b4cbd894ffff87169b1
MD5 d9c022bff8d4a16583e20e8be929781c
BLAKE2b-256 e9d9b6f695b2f44545372037084e25b5f959ff36e72252469c209f9ec27341e5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page