2.1.0 • Published 2 years ago
next-gcalendar-event v2.1.0
next-gcalendar-event
Get next google calendar event CLI
Install
$ npm install next-gcalendar-event
Setup
Yo need these environment variables of client.
- NODE_CLIENT_ID
- NODE_CLEINT_SECRET
- NODE_REFRESH_TOKEN
- https://www.googleapis.com/auth/calendar.readonly scope needed
Usage
$ npm exec next-gcalendar-event --calendar-id CALENDER_ID
Meeting 2018-05-24T11:00:00+09:00-2018-05-24T11:30:00+09:00
# You can search by event summary
$ npm exec next-gcalendar-event --calendar-id CALENDER_ID --query "Drinking"
Drinking 2018-05-25T18:00:00+09:00-2018-05-25T22:00:00+09:00
# You can format output by Mustache
$ npm exec next-gcalendar-event --calendar-id CALENDER_ID --format "{{summary}} - {{description}}"
Meeting - There are no agendas.
Options
- calendar-id (required)
- calendar id to search
- query
- search events summary
- format
- configure your output (using Mustache)
- See: https://developers.google.com/calendar/v3/reference/events to know event object schema
Other options can be found by --help
2.1.0
2 years ago
2.0.5
3 years ago
2.0.4
3 years ago
2.0.7
3 years ago
2.0.6
3 years ago
2.0.3
3 years ago
2.0.2
4 years ago
2.0.1
4 years ago
2.0.0
6 years ago
1.5.0
6 years ago
1.4.1
6 years ago
1.4.0
6 years ago
1.3.0
6 years ago
1.2.1
6 years ago
1.2.0
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.0
6 years ago