UNPKG

athom-cli

Version:

Command-line interface for Homey Apps

21 lines (16 loc) 370 B
'use strict'; const pkg = require('../package.json'); const yargs = require('yargs'); const updateNotifier = require('update-notifier'); const AthomMessage = require('..').AthomMessage; (async () => { await AthomMessage.notify(); updateNotifier({ pkg }).notify({ isGlobal: true, }); yargs .commandDir('./cmds') .demandCommand() .help() .argv; })();