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.

Author: Tugy | Github Repo: tugytools

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.2.2.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

ttool-0.2.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ttool-0.2.2.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.6 Darwin/21.6.0

File hashes

Hashes for ttool-0.2.2.tar.gz
Algorithm Hash digest
SHA256 fe700dec9bb944ee9632743b7f134ed626ecc9945d7cf26fb7f5eccd82bece24
MD5 065f2826d6d9bd08aee3c98caa39aab6
BLAKE2b-256 8d6c59f5b248d1f411208b96af1796f5c22978affdee4d8e33ee71d67286ccf4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ttool-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.6 Darwin/21.6.0

File hashes

Hashes for ttool-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9390d44e04e1ca4da70fd5f298f372bc3d15c24ac3086623e39d2724c40106a1
MD5 bde8f45dbd65e2ac7a56249bc0f5c1fb
BLAKE2b-256 d6ea8c0c5f15e9c09d099f917ba98b771142253a773aae580126d00d75a18354

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