Set temperature and mode of Nest thermostat
Copy config.example.json to config.json and include your client token and device id. The Nest API docs are pretty good about all the information you could possibly want for this.
nest
Reads temperature
nest 72
Sets temperature to 72
nest --mode cool 72
Sets mode to cool and temperature to 72
--help
Show help
--mode string
Accepts cool or heat, sets mode of thermostat
--temp number
Temperature to set thermostat to, default option
If no options provided, read current temperature.