List Tasks¶
The tasks list command lists all tasks with filtering by active status, search, and group, along with pagination support.
Parameters¶
| Parameter | Description |
|---|---|
--active / --inactive |
Filter by active status. |
--search, -s |
Search by name. |
--group-id, -g |
Filter by group ID. |
--page, -p |
Page number (default: 1). |
--per-page |
Items per page (default: 25). |
--output, -o |
Output format: table, json, yaml (default: table). |
๐ฅ๏ธ Basic Usage¶
Usage: easytask tasks list [OPTIONS]
List tasks.
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --active / --inactive Filter by active status โ
โ --search -s TEXT Search by name โ
โ --group-id -g INT Filter by group ID โ
โ --page -p Page number (default: 1) โ
โ --per-page Items per page (default: 25) โ
โ --output -o [table\|json\|yaml] Output format (default: table) โ
โ --help -h Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Example¶
โโโโโโโโโณโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโณโโโโโโโโโโโโโโณโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโ
โ ID โ Name โ Active โ Host โ Group โ Schedule โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ 42 โ data_processing โ Y โ worker-01 โ daily โ MON-FRI 08:00 โ
โ 43 โ report_gen โ Y โ worker-02 โ daily โ MON-FRI 09:00 โ
โ 44 โ cleanup_job โ N โ worker-01 โ maintenanceโ SUN 00:00 โ
โโโโโโโโโดโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโดโโโโโโโโโโโโโโดโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโ
Page 1 of 1 (3 total items)