We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0f1ea5 commit 352b305Copy full SHA for 352b305
node-binding/cli.js
@@ -0,0 +1,6 @@
1
+#!/usr/bin/env node
2
+const cppLinter = require('@cpp-linter/cpp-linter')
3
+
4
+process.argv.shift(); // pop the path to `node` interpreter
5
6
+cppLinter.main(process.argv);
node-binding/package.json
@@ -18,6 +18,9 @@
18
"engines": {
19
"node": ">= 10"
20
},
21
+ "bin": {
22
+ "cpp-linter": "cli.js"
23
+ },
24
"scripts": {
25
"artifacts": "napi artifacts",
26
"build": "napi build --platform --release",
0 commit comments