0.1.0 • Published 3 years ago

dimchi v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

dimchi

Simplify the process of writing notes by combining your workflow with cli and notes editor (notion.so)

oclif Version Downloads/week License

Getting started

$ npm install -g dimchi
...

Global setup

You need to do this only once. Follow these steps from notion documentation to get your integration token (notion secret key)

Then run:

dimchi init

Project setup

You will need to do this for every new project.

  • open notion webapp
  • create a page project
  • on right top corner click on share, and share page with your integration
  • get page id from the url

Then run:

Then run:

dimchi add-project

That's it, you are set to go 🚀

Commands

dimchi add-log [MESSAGE]

Add a log message of your progress.

USAGE
  $ dimchi add-log [MESSAGE]

See code: src/commands/add-log.ts

dimchi add-project

Connect your local repository with notion project page.

USAGE
  $ dimchi add-project

See code: src/commands/add-project.ts

dimchi edit-logs

Edit current project's logs.

USAGE
  $ dimchi edit-logs

See code: src/commands/edit-logs.ts

dimchi help [COMMAND]

display help for dimchi

USAGE
  $ dimchi help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

dimchi init

Init config

USAGE
  $ dimchi init

OPTIONS
  -d, --destroy
  -u, --update

See code: src/commands/init.ts

dimchi log

Print logs of current project.

USAGE
  $ dimchi log

See code: src/commands/log.ts

dimchi open

Open or create a new task page in notion.

USAGE
  $ dimchi open

OPTIONS
  -n, --name=name

See code: src/commands/open.ts