minor change

This commit is contained in:
daniel31x13
2023-12-08 11:01:47 -05:00
parent ab83d1d0c6
commit 8e49ccf723
6 changed files with 55 additions and 8 deletions
+13
View File
@@ -0,0 +1,13 @@
import shell from "shelljs";
import urlHandler from "../lib/api/urlHandler";
const command = process.argv[2];
const args = process.argv.slice(3).join(" ");
if (!command) {
console.log("Please provide a command to run. (start, dev, etc.)");
process.exit(1);
}
shell.exec(`yarn ${command || ""} ${args || ""}`);