nebula-starter-kit 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/utils/appName.js +4 -0
- package/package.json +1 -1
package/dist/utils/appName.js
CHANGED
|
@@ -11,6 +11,10 @@ const listServices_1 = require("./listServices");
|
|
|
11
11
|
const addService_1 = require("./addService");
|
|
12
12
|
async function promptAppName() {
|
|
13
13
|
const [, , command, argAppName] = process.argv;
|
|
14
|
+
if (!command) {
|
|
15
|
+
console.log(`❌ Missing command\nUsage: nebula <command> [options]\n`);
|
|
16
|
+
process.exit(1);
|
|
17
|
+
}
|
|
14
18
|
const commands = ['create', 'add', 'list'];
|
|
15
19
|
const addListCommands = ['add', 'list'];
|
|
16
20
|
let config;
|