Example CLI Script to Create Trello Cards
Project description
Trello-CLI-Example
This is a sample CLI interface to generate cards on my private Trello board.
Installation
You can install this example using the tarfile:
pip install Trello-CLI-Example-hanabou-1.0.1.tar.gz
You can also install it through pypi:
pip install Trello-CLI-Example-hanabou==1.0.1
Usage
The CLI can be used with the following options:
TRELLO CLI
Usage:
trello_cli.py add_card <NAME> --list=<LIST> [(--label_name=<LABEL_NAME> --label_color=<LABEL_COLOR>)...] [--comment=<COMMENT_TEXT>]
trello_cli.py -h|--help
trello_cli.py -v|--version
Arguments:
NAME Name of the new Trello card
--list=LIST Name of the list that will contain the new Trello card (todo, doing, done)
--label_name=<LABEL_NAME> Label name for the new Trello card
--label_color=<LABEL_COLOR> Label color for the new Trello card (yellow, purple, blue, red, green, orange, black, sky, pink, lime)
--comment=<COMMENT_TEXT> Text contents for a comment on the new Trello card
Options:
-h --help Show this screen
-v --version Show version
Sample usage
Here is an example that will add a card (with labels and a comment) to my private Trello board, under the "To Do" list:
python trello_cli.py add_card "Slice of Chocolate Cake" --list=todo --label_name=DESSERT --label_color=pink --label_name="FOOD" --label_color=red --comment="With a side of ice cream"
This creates a card with the following structure:
| Trello Board "Orders"
----| Trello List "To Do"
----| Trello Card "Slice of Chocolate Cake"
----| Label "DESSERT"
----| Color Pink
----| Label "FOOD"
----| Color Red
----| Comment "With a side of ice cream"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Close
Hashes for Trello-CLI-Example-hanabou-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d4b572eeb17cb609e2a8bbb20e115b2c73528b7195ac5d3af92aff3471f3410 |
|
MD5 | 76612d6b6fa1c7f3e1fe4825d09b4cf9 |
|
BLAKE2b-256 | 5d16d515fa44c84c1f11dab302524155e1dde6bd779da903cb9a66f46d49478d |
Close
Hashes for Trello_CLI_Example_hanabou-1.0.2-py3.9.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 700b571e234d8c148fc70f26e3ecece61c9d6a7fce895f650e498fb147c65fc8 |
|
MD5 | 499633eeb538109c0daaafddd513268c |
|
BLAKE2b-256 | 89d9485edfb5e24922060d5d224171e457549139d7ea37022152a2da45361e99 |
Close
Hashes for Trello_CLI_Example_hanabou-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0babfe13f100888493811974f5938e84bed52e05b1c189ed301031d5912f39a |
|
MD5 | 01a55b35339bc7d86b63e5eb6fc3521a |
|
BLAKE2b-256 | 0ec1ee4d3ce97f55e3fbb5be1535760f87d33a863987ac5f1fb2e12d72f2c3cc |