The ClickUp CLI tool allows you to interact with your ClickUp tasks directly from the terminal. I built this tool because I enjoy working with terminals and want to make task management more accessible for terminal enthusiasts. You can view tasks with an intuitive and clean command structure.
- View tasks assigned to you.
- Default filtering for "in progress" and "planned" tasks.
- Option to filter tasks by one or more statuses using a comma-separated list.
- Displays tasks in a detailed, color-coded format, including task status, name, URL, and due date.
-
Clone the repository:
git clone git@github.com:osvald0/clickup_cli.git cd clickup_cli
-
Install dependencies using Poetry:
poetry install
-
Build and install the CLI tool:
poetry build pip install dist/*.whl
-
Clone the repository:
git clone git@github.com:osvald0/clickup_cli.git cd clickup_cli
-
Install dependencies:
poetry install
-
Activate the virtual environment:
poetry shell
-
Run the CLI tool in development mode:
poetry run clickup-cli tasks view
By default, the CLI fetches tasks with "in progress" and "planned" statuses and displays them in a detailed, color-coded format:
poetry run clickup-cli tasks view
Example Output:
Found 2 tasks assigned to you:
- [in progress] Build Feature A (ID: abc123xyz)
URL: https://app.clickup.com/t/abc123xyz
Due Date: 2025-02-01 12:00:00
- [planned] Research Module B (ID: def456uvw)
URL: https://app.clickup.com/t/def456uvw
Due Date: 2025-02-10 18:00:00
You can filter tasks by a specific status using the --status
option:
poetry run clickup-cli tasks view --status "to do"
Use a comma-separated list to filter tasks by multiple statuses:
poetry run clickup-cli tasks view --status "in progress,planned"
open <URL>
xdg-open <URL>
start <URL>
- These commands will open the URL in the default web browser set on your system.
- Ensure the URL starts with
http://
orhttps://
to avoid errors.
-
Run unit tests:
pytest
-
Add new tests in the
tests/
directory to validate new functionality.
Feel free to fork the repository, make improvements, and create a pull request! Suggestions and enhancements are welcome.
Pending to define... 🤔
GPL v3