1 | ;
|
2 |
|
3 | const pkg = require('../package.json');
|
4 | const yargs = require('yargs');
|
5 | const updateNotifier = require('update-notifier');
|
6 | const AthomMessage = require('..').AthomMessage;
|
7 |
|
8 | (async () => {
|
9 |
|
10 | await AthomMessage.notify();
|
11 | updateNotifier({ pkg }).notify({
|
12 | isGlobal: true,
|
13 | });
|
14 |
|
15 | yargs
|
16 | .commandDir('./cmds')
|
17 | .demandCommand()
|
18 | .strict()
|
19 | .help()
|
20 | .argv;
|
21 |
|
22 | })(); |
\ | No newline at end of file |