0.0.25 • Published 4 months ago

@dandori/cli v0.0.25

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

dandori/cli

This repository is responsible for executing @dandori/* packages.

Usage

This is an example of using Miro.

First, please create .env file and set environment variables like below.

OPENAI_API_KEY=your_openai_api_key
MIRO_API_KEY=your_miro_api_key

Second, please create a file which contains your tasks like below.

Today's My Tasks
* Send Email to John
* Send Email to Mary
* Report to Boss after sending emails

Finally, please execute the following command.

npx --package=@dandori/cli -- dandori-miro your_tasks.txt -b your_miro_board_id
yarn dlx -p @dandori/cli dandori-miro your_tasks.txt -b your_miro_board_id
pnpm --package=@dandori/cli dlx dandori-miro your_tasks.txt -b your_miro_board_id

Requirements

Supported External APIs

Commands

dandori-core

This command is to execute generateDandoriTasks of @dandori/core.

% pnpm --package=@dandori/cli dlx dandori-core -h
Options:
  -V, --version                                    output the version number
  -e, --env-file <env-file>                        env file path
  -m, --model <model>                              Chat GPT model which supports function_calling
  -o, --optional-task-props <optional-task-props>  optional output task props which delimiter is a comma
  -h, --help                                       display help for command

Example of the command

pnpm --package=@dandori/cli dlx dandori-core your_tasks.txt > result.json

dandori-miro

This command is to execute generateDandoriMiroCards of @dandori/ui.

% pnpm --package=@dandori/cli dlx dandori-miro -h

Usage: @dandori/cli <input-file> [options]

Options:
  -V, --version                                    output the version number
  -e, --env-file <env-file>                        env file path
  -m, --model <model>                              Chat GPT model which supports function_calling
  -o, --optional-task-props <optional-task-props>  optional output task props which delimiter is a comma
  -a, --app-card                                   use app card
  -b, --board-id <board-id>                        miro board id. if not set, create new board
  -h, --help                                       display help for command

Example of the command

pnpm --package=@dandori/cli dlx dandori-miro your_tasks.txt -b your_miro_board_id

dandori-notion

This command is to execute generateDandoriNotionPages of @dandori/ui.

% pnpm --package=@dandori/cli dlx dandori-notion -h                                      

Usage: @dandori/cli <input-file> [options]

Options:
  -V, --version                                    output the version number
  -e, --env-file <env-file>                        env file path
  -m, --model <model>                              Chat GPT model which supports function_calling
  -o, --optional-task-props <optional-task-props>  optional output task props which delimiter is a comma
  -d, --database-id <database-id>                  notion database id
  --name <name>                                    notion page name property
  --deadline <deadline>                            notion page deadline property
  --status <status>                                notion page status property
  --status-todo <status-todo>                      notion page status todo property
  --status-doing <status-doing>                    notion page status doing property
  --status-done <status-done>                      notion page status done property
  -h, --help                                       display help for command

Example of the command

pnpm --package=@dandori/cli dlx dandori-miro your_tasks.txt -d your_database_id -o status --status 'Status' --status-todo 'ToDo' --status-doing 'Doing' --status-done 'Done 🙌'

dandori-trello

This command is to execute generateDandoriTrelloCards of @dandori/ui.

% pnpm --package=@dandori/cli dlx dandori-trello -h                                      

Usage: @dandori/cli <input-file> [options]

Options:
  -V, --version                                    output the version number
  -e, --env-file <env-file>                        env file path
  -m, --model <model>                              Chat GPT model which supports function_calling
  -o, --optional-task-props <optional-task-props>  optional output task props which delimiter is a comma
  -b, --board-id <board-id>                        trello board id
  --status-todo <status-todo>                      trello list status todo name
  --status-doing <status-doing>                    trello list status doing name
  --status-done <status-done>                      trello list status done name
  -h, --help                                       display help for command

Example of the command

pnpm --package=@dandori/cli dlx dandori-trello your_tasks.txt -d your_board_id -o status --status-todo 'Todo' --status-doing 'Doing' --status-done 'Done'
0.0.25

4 months ago

0.0.24

4 months ago

0.0.23

4 months ago

0.0.22

5 months ago

0.0.20

6 months ago

0.0.21

6 months ago

0.0.16

6 months ago

0.0.17

6 months ago

0.0.18

6 months ago

0.0.19

6 months ago

0.0.15

6 months ago

0.0.14

6 months ago

0.0.13

6 months ago

0.0.12

7 months ago

0.0.11

7 months ago

0.0.10

7 months ago

0.0.9

8 months ago

0.0.8

8 months ago

0.0.7

8 months ago

0.0.6

8 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago