dimchi
v0.1.0
Published
Simplify the process of writing notes by combining your workflow with cli and notes editor (notion.so)
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 initProject 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-projectThat's it, you are set to go 🚀
Commands
dimchi add-log [MESSAGE]dimchi add-projectdimchi edit-logsdimchi help [COMMAND]dimchi initdimchi logdimchi 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-projectSee code: src/commands/add-project.ts
dimchi edit-logs
Edit current project's logs.
USAGE
$ dimchi edit-logsSee 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 CLISee code: @oclif/plugin-help
dimchi init
Init config
USAGE
$ dimchi init
OPTIONS
-d, --destroy
-u, --updateSee code: src/commands/init.ts
dimchi log
Print logs of current project.
USAGE
$ dimchi logSee code: src/commands/log.ts
dimchi open
Open or create a new task page in notion.
USAGE
$ dimchi open
OPTIONS
-n, --name=nameSee code: src/commands/open.ts
