openkickstart 2.0.0 → 2.0.1
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/index.mjs +3 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -273,8 +273,9 @@ async function autonomousWork(creds) {
|
|
|
273
273
|
|
|
274
274
|
async function main() {
|
|
275
275
|
const args = process.argv.slice(2);
|
|
276
|
-
const
|
|
277
|
-
const
|
|
276
|
+
const nameArg = args.find(a => a.startsWith('--name='))?.split('=')[1];
|
|
277
|
+
const positional = args.filter(a => !a.startsWith('--'));
|
|
278
|
+
const cmd = positional[0] || 'install';
|
|
278
279
|
|
|
279
280
|
console.log('');
|
|
280
281
|
console.log(`${C}${B} OpenKickstart${R}`);
|