mattaylor / clickup-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cu-cli

A Simple Command line Utility to create tasks, subtask and comments in clickup

Install

  1. > npm -i -g clickup-cli
  2. Copy sample.clickup to ~/.clickup
  3. Edit ~/.clickup with default and auth token from your clickup account
  4. > cu-cli help

Usage

> cu-cli help

Usage: cu-cli [options] [command]

clickup cli

Options:
  -h, --help                             display help for command

Commands:
  task [options] <name> [desc]           create task
  comment [options] <task_id> [message]  add comment
  help [command]                         display help for command

Create Task

> cu-cli help create

Usage: cu-cli create [options] <name> [desc]

create task

Arguments:
  name                            Task Name
  desc                            Task Description

Options:
  -f, --file <filePath>           Markdown Description from file
  -t, --parent <task_id>          Parent Task Id
  -i, --priority <priority>       Task Priority (1-5)
  -a, --assignees <user...>       Comma seperated user initals or ids
  -e, --time_estimate <estimate>  Time Estimate (ms)
  -s, --status <status>           Task Status
  -p, --points <points>           Sprint Points
  -j, --json <json>               Custom Fields as JSON
  -l, --list <list...>            comma seperated lists names or ids
  -h, --help                      display help for command  ```

Update Task

> cu-cli help update

Usage: cu-cli update [options] <task_id> [name] [desc]

update task

Arguments:
  task_id                         Task Id
  name                            Task Name
  desc                            Task Description

Options:
  -f, --file <filePath>           Markdown Description from file
  -t, --parent <task_id>          Parent Task Id
  -i, --priority <importance>     Task Priority (1-5)
  -a, --assignees <user...>       Comma seperated user initals or ids
  -e, --time_estimate <estimate>  Time Estimate (ms)
  -s, --status <status>           Task Status
  -p, --points <points>           Sprint Points
  -j, --json <json>               Custom Fields as JSON
  -l, --list <list...>            comma seperated lists names or ids
  -h, --help                      display help for command

Delete Task

> cu-cli help delete

Usage: cu-cli delete [options] <task_id>

delete task

Arguments:
  task_id     Task Id

Options:
  -h, --help  display help for command

Add Comment

> cu-cli help comment

Usage: clickup comment [options] <task_id> [message]

add comment

Arguments:
  task_id                   Task Id
  message                   Comment Text

Options:
  -f, --file <filePath>     Read from file
  -n, --notify_all          Notify all
  -a, --assignee <user_id>  Assign to user
  -h, --help                display help for command

About

License:Apache License 2.0


Languages

Language:JavaScript 100.0%