description |
---|
Create a new slash command with guidance |
File Location:
- Project commands:
.claude/commands/
(shared with team, shows "(project)" in/help
)
function sync() { | |
var id="XXXXXXXXX"; // CHANGE - id of the secondary calendar to pull events from | |
var today=new Date(); | |
var enddate=new Date(); | |
enddate.setDate(today.getDate()+7); // how many days in advance to monitor and block off time | |
var secondaryCal=CalendarApp.getCalendarById(id); | |
var secondaryEvents=secondaryCal.getEvents(today,enddate); |