#Freetime
A CLI tool to help you find when you are available by querying your Google Calendar.
##To install Freetime
- After installing Go, make sure your
GOPATH
environmental variable is set
-
Download this repo
go get -d github.com/wholien/freetime
-
Turn on Your Google Calendar API and download
client_secret.json
into the freetime directory -
Run the program and enter your queries
//from inside the
freetime
directory go build// an executable called "freetime" should now be in the folder ./freetime
##Usage Examples
After installing, if you see a new prompt Freetime
, then Freetime is working!
Now, time for you to enter constraint statement for a query. Constraint statements are of the form:
[duration] [hour range] [dates]
For example, 1hour 1pm-5pm 11/10
is a constraint statement that, when used to query, will return all non-busy 1 hour-long time slots from 1pm to 5pm on 11/10