We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6330eb4 commit dbdedf6Copy full SHA for dbdedf6
package.json
@@ -19,6 +19,9 @@
19
"author": "sanderhd",
20
"type": "module",
21
"main": "src/index.js",
22
+ "bin": {
23
+ "xsh": "./src/index.js"
24
+ },
25
"scripts": {
26
"xsh": "node src/index.js"
27
},
src/index.js
@@ -1,3 +1,5 @@
1
+#!/usr/bin/env node
2
+
3
import chalk from "chalk";
4
import readline from "node:readline"
5
import { exec } from "node:child_process"
0 commit comments