Skip to main content

Tugys utils tools

Project description

TTOOL (Tugy Tools)

This Repository is for utils that me, Tugy, thought that will be usefull.

Installation:

$ pip install ttool

Packages:

Jira:

To use the Jira utils you need to create 2 Global variables: JIRA_API_TOKEN and JIRA_MAIL. Get your JIRA_API_TOKEN here.

Your JIRA_MAIL should store your jira mail ofc..

I suggest that you store this values in $HOME/.bashrc or $HOME/.aliases if you have one.

$ ttool jira --help

Usage: ttool jira [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  checkout  Checkout/Print your chosen jira issue with...
  setup     Set up your jira configurations.

The Setup Command

To setup a local config file to store your jira project and host.

$ ttool jira setup --help

Usage: ttool jira setup [OPTIONS]

  Set up your jira configurations.

Options:
  --help  Show this message and exit.

The Checkout Command:

It really annoyed me every time to copy the key and description from the jira and create indicative branch names. So this command let you pick a ticket of yours from the jira in the CLI, and then checkout to a branch with this syntax: ISSUE-123/My-issue-description

$ ttool jira checkout --help

Usage: ttool jira checkout [OPTIONS]

  Checkout/Print your chosen jira issue with 'ISSUE-ID/the-issue-summery'
  format. use --print to print the branch name without checkout

Options:
  --print / --no-print  [default: no-print]
  --help                Show this message and exit.

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

ttool-0.1.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

ttool-0.1.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file ttool-0.1.2.tar.gz.

File metadata

  • Download URL: ttool-0.1.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.7 Darwin/21.4.0

File hashes

Hashes for ttool-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3ea3950be70d2b0aeaee4514276531307c5cf3dc889af2e81616a5ec87c5c615
MD5 e23745b26e72ea322a5598f3f83da451
BLAKE2b-256 02b1eb88bb8663dfe188d2b5dec8ba714be036d709e69f6ae19f9f6a7163627f

See more details on using hashes here.

File details

Details for the file ttool-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ttool-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.7 Darwin/21.4.0

File hashes

Hashes for ttool-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3ea5004d349079bc42ff758f0a1db10bd0b31660883fd8f10d78c5ebc0faa64d
MD5 b270942a49ab0d076aa9bcc3899f0338
BLAKE2b-256 10944b154be9cb570fc1d4fa9a8c5ab5ed98ddf9ca25d73856d5884efc2224e5

See more details on using hashes here.

Supported by

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