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
Built Distribution
File details
Details for the file ttool-0.1.0.tar.gz
.
File metadata
- Download URL: ttool-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.9.7 Darwin/21.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 523d58c7010aa92e4dde71151bf21126924e34f9669cb2968e4063c9310aef4e |
|
MD5 | 847a7e0ef688eb3a920f0bce76ccb09c |
|
BLAKE2b-256 | d43832053ecaa261024209f5092ac78a4d8282b9b2f78c8b7cd9274b5c806ae5 |
File details
Details for the file ttool-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: ttool-0.1.0-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ab7070b8244d342b559c35e2ee29fb30794438bbad6f9d2e15cd3ac8adc79af |
|
MD5 | a5ed3329b41dfd03149d70813b7d484f |
|
BLAKE2b-256 | 014f249e60e5f7fc491c54887623f7fa0bb07f2430b0a7e913ef3a6eafaa2946 |