# clickup-simple-cli

> Automate creating new CU tasks

Latest version **1.0.3** (published 2022-04-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install clickup-simple-cli
pnpm add clickup-simple-cli
yarn add clickup-simple-cli
bun add clickup-simple-cli
```

Provides the command `cu-cli`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2022-04-06 |
| First published | 2022-04-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 22.5 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Author | Martin Prokes |
| Maintainers | martinkite |

## Links

- npm: https://www.npmjs.com/package/clickup-simple-cli
- npm.io page: https://npm.io/package/clickup-simple-cli

## Dependencies (2)

- [axios](https://npm.io/package/axios.md) ^0.26.1
- [commander](https://npm.io/package/commander.md) ^9.1.0

## Recent versions

- 1.0.3 (latest) — 2022-04-06
- 1.0.1 — 2022-04-05
- 1.0.0 — 2022-04-05

## README

# Clickup CLI tool

## Usage: 

`jarvis-cu [options] [command]`

```
CLI tool for creating and udpating tasks

Options:
  -t, --token <token>      Clickup PAT
  -h, --help               display help for command

Commands:
  create [options] <name>  create new task
  help [command]           display help for command
```

### Create new task
`jarvis-cu create [options] <name>`

```
Create new ClickUp task

Arguments:
  name                             Name of the task

Options:
  -a, --assignees <assignees>      Comma-separated list of assignees
  -p, --priority <priority>        Task Priority (default: "3")
  -l, --list <list>                List ID
  -s, --status <status>            Task Status (default: "DEPLOYED")
  -d, --description <description>
  -t, --tags <tags>                Comma-separated list of tags
  -h, --help                       display help for command
```

### ENV variables config
- add ENV variables with the CU prefix to override the options
```
CU_token
CU_list
CU_assignees
CU_priority
CU_status
CU_description
CU_tags
```

### Github Action Example

```yaml
- name: Create ClickUp task
  env:
      CU_assignees: 123456
      CU_list: 654321
      CU_token: ${{ secrets.CLICKUPPAT }}
      CU_tags: "test,tag"
  run: |
      npm i -g clickup-simple-cli
      cu-cli create -d "Clickup CLI Test message
      with multiline content" "Task name"
```

---
_Source: https://npm.io/package/clickup-simple-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
