UNPKG
belly-button
Version:
latest (8.0.0)
8.0.0
8.0.0-beta.1
8.0.0-beta.0
7.0.0
6.0.0
5.0.0
4.1.1
4.1.0
4.0.1
4.0.0
3.1.0
3.0.1
3.0.0
2.0.1
2.0.0
1.0.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
the best souce of linting
github.com/cjihrig/belly-button
cjihrig/belly-button
belly-button
/
bin
/
belly-button.js
17 lines
(13 loc)
•
277 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env node
'use strict'
;
async
function
main
(
) {
try
{
const
[output, code] =
await
require
(
'../lib/cli'
).
run
(process.
argv
);
console
.
log
(output); process.
exit
(code); }
catch
(err) {
console
.
error
(err.
message
); process.
exit
(
1
); } }
main
();