forked from ashish-chopra/chrome-extension-seed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
27 lines (24 loc) · 1.01 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env node
/**
* @file
* @author Albert Patterson <albert.patterson.code@gmail.com>
* @see [Linkedin]{@link https://www.linkedin.com/in/apattersoncmu/}
* @see [Github]{@link https://github.com/albertpatterson}
* @see [npm]{@link https://www.npmjs.com/~apatterson189}
* @see [Youtube]{@link https://www.youtube.com/channel/UCrECEffgWKBMCvn5tar9bYw}
* @see [Medium]{@link https://medium.com/@albert.patterson.code}
*
* Free software under the GPLv3 licence. Permissions of this strong copyleft
* license are conditioned on making available complete source code of
* licensed works and modifications, which include larger works using a
* licensed work, under the same license. Copyright and license notices must
* be preserved. Contributors provide an express grant of patent rights.
*/
import { runTasks } from './run_tasks.js';
import { getSettings } from './get_settings.js';
try {
const settings = await getSettings(process.argv);
await runTasks(settings);
} catch (err) {
console.error(err.message);
}