Skip to content

entropia/gpn-einkauf-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GPN Einkauf Tools

Contains tools used by the GPN Einkauf Team to manage their workload.

KAUF command line tool

Located at /src/kauf is a command line utility with some neat commands to make shopping simpler.

Create a shopping list from JIRA issues

kauf jira list --jira-url jira.example.com --tag "Buy Now" --hedgedoc-url "pad.example.com"

Transition all JIRA issues from a shopping list where all items from that issue are ticked

kauf jira update --hedgedoc-url "pad.example.com/XXXXX" --jira-url jira.example.com --transition "Mark arrived"

Installation

Create a new virtual environment, e.g. with virtualenv .venv and activate it source .venv/bin/activate.

kauf can be installed via pipx with the following command:

pipx install .

Then call it

kauf --help

Development

Create a new virtual environment, e.g. with virtualenv .venv and activate it source .venv/bin/activate.

Dependencies

To install the dependencies locally run

pip install .

Running locally

To avoid having to install the command line tool to test it locally you can run it as well with

python src/kauf

Verbose mode

Use the --verbose flag for verbose output.

kauf --verbose ...

Linting

Run ruff format . and ruff check . --fix for local linting.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages