create-manifest 1.1.5 → 1.1.7
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/commands/index.js
CHANGED
|
@@ -55,7 +55,7 @@ export default class CreateManifest extends Command {
|
|
|
55
55
|
async run() {
|
|
56
56
|
// * 1 Create a folder named after the first argument or ask for it.
|
|
57
57
|
const { argv } = await this.parse(CreateManifest);
|
|
58
|
-
let projectName =
|
|
58
|
+
let projectName = argv[0];
|
|
59
59
|
if (!projectName) {
|
|
60
60
|
projectName = await input({
|
|
61
61
|
message: 'What name would you like to use for the new workspace?',
|
|
@@ -71,6 +71,7 @@ export default class CreateManifest extends Command {
|
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
+
projectName = slugify(projectName);
|
|
74
75
|
const spinner = ora(`Creating your Manifest project in ${projectName} folder...`).start();
|
|
75
76
|
const projectFolderPath = path.join(process.cwd(), projectName);
|
|
76
77
|
// Check if the folder already exists
|
package/oclif.manifest.json
CHANGED