Skip to main content

Useful tool

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.0.tar.gz (9.9 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.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for minkar-0.3.0.tar.gz
Algorithm Hash digest
SHA256 017e113ded3fac3ace17114f2f380f363f5d6542c503b2d46c77dfd52caaf837
MD5 2cf04e53698392a14c1463ba899e787c
BLAKE2b-256 f943ffb145f2eb2b8b5dc147667265a731668d6f1df38d25fbe51ef3abccf77b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for minkar-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de3ac5896d98c18ae50b845ad0f4e944a92979bf621022bcce273c08d1cd5345
MD5 ca69f8ff8045c147f536722f80a5f83a
BLAKE2b-256 a6e02d5516534526e8d3ce554700e297fd4b5ae23939931836f6aae5149f76e6

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