@isardsat/create-editorial 6.0.4 → 6.0.5
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/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9,11 +9,12 @@ const package_json_1 = require("./utils/package-json");
|
|
|
9
9
|
const { version } = JSON.parse((0, node_fs_1.readFileSync)((0, node_path_1.join)(__dirname, "../package.json"), "utf8"));
|
|
10
10
|
exports.command = new commander_1.Command()
|
|
11
11
|
.version(version)
|
|
12
|
-
.argument("[directory]", "root directory for
|
|
12
|
+
.argument("[directory]", "root directory for editorial", "./editorial")
|
|
13
13
|
.usage("[directory] [options]")
|
|
14
14
|
.description("Create a new Editorial application")
|
|
15
15
|
.action(async (directory) => {
|
|
16
|
-
console.log("Creating new Editorial application
|
|
16
|
+
console.log("Creating new Editorial application");
|
|
17
|
+
console.log(directory);
|
|
17
18
|
try {
|
|
18
19
|
await (0, promises_1.access)(directory);
|
|
19
20
|
console.error("Directory already exists");
|