You can interact with the CLI by running the executable from a
terminal. If you want to check the available options, you can use the
flag -h
.
$ ./unizar-calendar -h
In case you generate for Google Calendar, make sure to create a new calendar with the correct timezone before importing. To import a csv file as a calendar, check this guide.
Compilation is automatic thanks to Go modules. That means you have to
enable modules support by setting the environment variable
GO111MODULE=on
.
go build
If you are going to use the webdata
module or pkg/gcal
, you need
the following:
GOOGLE_APPLICATION_CREDENTIALS
environment variable.