Notion CLI utility for generating pages using notion api.
What problem does this solve?
Last year I started bullet journaling in notion. So if I want to plan something for a week or month then I need to create pages with date names and set each date manually in the Date column. This was a repetitive and boring task for me hence I create this CLI utility.
npm install @email@example.com
First, use init command to setup your notion secret token. It’s save token locally.
notion-gen generate-dates <startDate> <endDate>
To generate dates we need to provide dates in
yyyy-mm-dd format. After running this command it will ask for databaseid and date column name.