1.0.0 • Published 9 years ago
yupi v1.0.0
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.jsonfile with credentials, and put it in the project root.
Installation
Install the package globally with
yarn global add yupior
npm i -g yupiUsage
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');1.0.0
9 years ago