@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webhikers/cli",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "CLI for creating and deploying webhikers projects",
5
5
  "type": "module",
6
6
  "bin": {
@@ -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} deployed via webhikers CLI`,
139
+ description: `${name} - deployed via webhikers CLI`,
140
140
  });
141
141
  const projectUuid = project.uuid;
142
142
  console.log(` Project created: ${projectUuid}`);