2.3 KiB
2.3 KiB
name, description, metadata
| name | description | metadata | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| planka | Manage Planka (Kanban) projects, boards, lists, cards, and notifications via a custom Python CLI. |
|
Planka CLI
This skill provides a CLI wrapper around the plankapy library to interact with a Planka instance.
Setup
-
Dependencies: Navigate to the skill's scripts directory and install dependencies:
cd scripts/ pip install -r requirements.txt -
Configuration: Use the
logincommand to store credentials in a.envfile next to the binary (or next toscripts/planka_cli.pywhen running from source):planka-cli login --url https://planka.example --username alice --password secret # or: python3 scripts/planka_cli.py login --url https://planka.example --username alice --password secret
Usage
Run the CLI using Python from the scripts directory (or referenced via absolute path):
# Check connection
python3 scripts/planka_cli.py status
# Save credentials next to the binary/script
python3 scripts/planka_cli.py login --url https://planka.example --username alice --password secret
# Remove stored credentials
python3 scripts/planka_cli.py logout
# List Projects
python3 scripts/planka_cli.py projects list
# List Boards (optionally by project ID)
python3 scripts/planka_cli.py boards list [PROJECT_ID]
# List Lists in a Board
python3 scripts/planka_cli.py lists list <BOARD_ID>
# List Cards in a List
python3 scripts/planka_cli.py cards list <LIST_ID>
# Create a Card
python3 scripts/planka_cli.py cards create <LIST_ID> "Card title"
# Update a Card
python3 scripts/planka_cli.py cards update <CARD_ID> --name "New title"
# Delete a Card
python3 scripts/planka_cli.py cards delete <CARD_ID>
# Notifications
python3 scripts/planka_cli.py notifications all
python3 scripts/planka_cli.py notifications unread
Examples
List all boards:
python3 scripts/planka_cli.py boards list
Show cards in list ID 42:
python3 scripts/planka_cli.py cards list 42
Create a card in list ID 42:
python3 scripts/planka_cli.py cards create 42 "Ship CLI"
Mark a card done by updating its name:
python3 scripts/planka_cli.py cards update <CARD_ID> --name "Done: Ship CLI"