UNPKG

nanoleafy-js

Version:

An API client & command-line tool for the Nanoleaf Aurora light.

25 lines (19 loc) 359 B
'use strict'; const API = require('../index'), chalk = require('chalk'); function builder(yargs) {} function handler(argv) { const aurora = new API(); aurora.on().then(() => { console.log(`Aurora ➜ ${chalk.bold('on')}`); }); } module.exports = { command: 'on', describe: 'turn your Aurora on', builder, handler };