dimchi
v0.1.0
Published
Simplify the process of writing notes by combining your workflow with cli and notes editor (notion.so)
Downloads
9
Maintainers
Readme
dimchi
Simplify the process of writing notes by combining your workflow with cli and notes editor (notion.so)
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]
dimchi add-project
dimchi edit-logs
dimchi help [COMMAND]
dimchi init
dimchi log
dimchi open
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