This software is licensed under the BSD-3 license. See the file named LICENSE
for details. The RestClient-cpp
submodule which is used, has its own license. See restclient-cpp/LICENSE
for details.
I set up this project to delete all my archived Trello cards in one go, instead of having to delete every single card by hand. More information on why this is not possible in the Trello interface can be found in this Atlassian thread.
I want to be able to quickly and easily delete my archived cards because:
-
They contain private information
-
They clutter search results
This application needs the following libraries, which you should install before building:
-
cURL
-
cURL++ (also called curlpp)
-
jsoncpp
For setting it up, clone this repo and also clone the submodules:
git clone https://github.com/hartogjr/trello_api_client trello_api_client
cd trello_api_client
git submodule update --recursive --init
Ensure your build environment is in order, meaning that you have:
-
A C++ compiler
-
CMake
-
GNU Make
-
Basic development libraries and header files
To actually build the program do this:
-
Go to the
bld
subdirectory:cd bld
-
Run CMake there:
cmake -DCMAKE_BUILD_TYPE=Debug ..
-
Install missing packages if necessary and then run cmake again
-
When CMake finishes successfully, build the program:
make
-
The application is then located in
bld/src
and namedtac
(Trello Api Client) -
To run, execute
tac
, giving it the Trello API Token as parameter:
tac <Trello API Token>
-
This should delete all archived Trello cards you have
-
You may have to run the command multiple times when you have a lot of cards