@webhikers/cli 1.1.1 → 1.1.3
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/package.json +1 -1
- package/src/commands/create.js +3 -3
package/package.json
CHANGED
package/src/commands/create.js
CHANGED
|
@@ -12,8 +12,8 @@ function run(cmd, options = {}) {
|
|
|
12
12
|
return execSync(cmd, { stdio: "inherit", ...options });
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
function runCapture(cmd) {
|
|
16
|
-
return execSync(cmd, { encoding: "utf-8" }).trim();
|
|
15
|
+
function runCapture(cmd, options = {}) {
|
|
16
|
+
return execSync(cmd, { encoding: "utf-8", ...options }).trim();
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
async function coolifyApi(config, method, path, body) {
|
|
@@ -136,7 +136,7 @@ export async function createCommand(name) {
|
|
|
136
136
|
console.log(" Creating Coolify project...");
|
|
137
137
|
const project = await coolifyApi(config, "POST", "/projects", {
|
|
138
138
|
name,
|
|
139
|
-
description: `${name}
|
|
139
|
+
description: `${name} - deployed via webhikers CLI`,
|
|
140
140
|
});
|
|
141
141
|
const projectUuid = project.uuid;
|
|
142
142
|
console.log(` Project created: ${projectUuid}`);
|