Simplify the process of writing notes by combining your workflow with cli and notes editor (notion.so)
$ npm install -g dimchi
You need to do this only once. Follow "Step 1: Create an integration" from notion documentation to get your integration token (notion secret key)
Then run:
dimchi init
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:
dimchi add-project
That's it, you are set to go ๐
dimchi add-log [MESSAGE]
dimchi add-project
dimchi edit-logs
dimchi help [COMMAND]
dimchi init
dimchi log
dimchi open
Add a log message of your progress.
USAGE
$ dimchi add-log [MESSAGE]
See code: src/commands/add-log.ts
Connect your local repository with notion project page.
USAGE
$ dimchi add-project
See code: src/commands/add-project.ts
Edit current project's logs.
USAGE
$ dimchi edit-logs
See code: src/commands/edit-logs.ts
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
Init config
USAGE
$ dimchi init
OPTIONS
-d, --destroy
-u, --update
See code: src/commands/init.ts
Print logs of current project.
USAGE
$ dimchi log
See code: src/commands/log.ts
Open or create a new task page in notion.
USAGE
$ dimchi open
OPTIONS
-n, --name=name
See code: src/commands/open.ts