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

Uploaded Source

Built Distribution

ttool-0.2.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ttool-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3b8c687f15c960d9a34f8403922d99b8be8be98e17de85f5385aa871b3da7f0a
MD5 14767d0467f302e94b462c581373189b
BLAKE2b-256 290441d2ea644534b7f70b66212c10616aa9e496c26889c942dd4c15fd0f8952

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ttool-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab80e4773b0751f78a7e72fc1c5978fc710d84c99c2d7b0603cd696a1730af1f
MD5 4ce8c734ee6d6f5cb72e16b7d8fa68fa
BLAKE2b-256 3ed1400c0cc0b008b408ece63bda8e2d6ebc0101db0c8d551c110eb8325698dc

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