yupi
v1.0.0
Published
A simple tool to create gmail events on a specific date
Downloads
8
Readme
yupi
A simple tool to create gmail events on a specific date!
Follow google apis quickstart to create a project with calendar and google+ access, generate
client_secret.json
file with credentials, and put it in the project root.
Installation
Install the package globally with
yarn global add yupi
or
npm i -g yupi
Usage
The first time, you will need to give google calendar access for the tool to create events.
Create a configuration object for event data in your package.json. For example:
{
"yupi": {
"summary": "Yupi Event - {{name}}",
"description": "{{name}} created a yupi event!"
}
}
You can use template variables that will be interpolated. The available template variables are:
name
: the authenticated person's first name
CLI
yupi "next wednesday"
Node
const yupi = require('yupi');
yupi('next wednesday');