npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@dandori/cli

v0.0.25

Published

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

Downloads

11

Readme

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'