athom-cli
Version:
Command-line interface for Homey Apps
22 lines (17 loc) • 382 B
JavaScript
;
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()
.strict()
.help()
.argv;
})();