Install pipenv
python -m pip install pipenv
Run:
pipenv install
Copy config.json.example
to config.json
and fill:
key
- API KEY from https://trello.com/app-keytoken
- token from https://trello.com/1/authorize?expiration=never&name=SinglePurposeToken&key=PASTE_KEY_HERE
Duplicates card by id
Example:
pipenv run python duplicate_card.py --board BOARD_ID --list LIST_NAME -s SOURCE_CARD_ID
BOARD_ID
- board ID (eg. from url right afterhttps://trello.com/b/
)LIST_NAME
- name of list, can be substringSOURCE_CARD_ID
- id of card to copy (id can be obtained from exporting cards)