This is a cli utility which will allow the user to interact with trello board, this tool made it easy to add, update or delete objects on the Trello board.
This tool uses Python3.x language and has some dependencies packages.
This is an example of how you may use the tool locally.
-
python3
-
pip
-
virtualenv
pip install virtualenv
-
Get API Key from Trello (https://trello.com/app-key)
-
Generate a Server Token by clicking on Token withing this page (https://trello.com/app-key)
-
Clone the repo
git clone https://github.com/trellocli.git
-
Change the directory to the trellocli folder
-
Create a virtual environment
virtualenv venv
-
Enable the virtual environment
source venv/bin/activate
-
Install the dependencies and package the tool.
pip install -e .
-
Run trellocli if you see the output below it means you have successfully installed the cli.
trellocli Welcome to trellocli !!!
-
will show the help menu
-
will print out the version
-
Mandatory command to configure your API_KEY and SERVER_TOKEN, It will store the information as yaml file with the same directory.
-
will create a Trello Board with the name myboard
-
Will create a card in specific board and specific list with given title. -- comment : Optional argument if you want to add comment to the card. -- label : Optional argument , if you want to label the card.
- need to move the .trello.cfg file from the source code directory to the user directory ~/.trello.cfg since it's more secure if the configuration files exists within the user directory.
- need to add more functionalities to the cli like remove card , remove board .. etc
- enhance the exception handling to make it more clear to the user when an error occur.
- need to add unit testing to this project