@aerostack/cli 1.5.31 → 1.5.34

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.
@@ -2,9 +2,10 @@
2
2
  import { existsSync } from 'fs';
3
3
  import { join } from 'path';
4
4
 
5
- // Just a polite notice
6
5
  const binDir = join(process.env.HOME || process.env.USERPROFILE || '.', '.aerostack', 'bin');
7
6
  if (existsSync(binDir)) {
8
- console.log(`\nAerostack is installed.`);
9
- console.log(`To use the binary directly, add ${binDir} to your PATH.\n`);
7
+ console.log('\n Aerostack CLI is ready.');
8
+ console.log(' Run `npx aerostack --help` or add the CLI to your PATH:');
9
+ console.log(` ${binDir}`);
10
+ console.log(' Docs: https://aerostack.dev/docs/cli\n');
10
11
  }
package/bin/run.js CHANGED
@@ -89,12 +89,13 @@ async function downloadBinary(version, asset) {
89
89
 
90
90
  const archivePath = join(tmpDir, releaseName);
91
91
 
92
- console.error(`Downloading Aerostack Go Core v${version}...`);
92
+ console.error(`\n First-time setup: downloading Aerostack CLI v${version}...`);
93
93
  const res = await fetch(url, { redirect: "follow" });
94
94
  if (!res.ok) throw new Error(`Download failed: ${url} (${res.status})`);
95
95
 
96
96
  const buffer = Buffer.from(await res.arrayBuffer());
97
97
  writeFileSync(archivePath, buffer);
98
+ console.error(' Ready. Running command...\n');
98
99
 
99
100
  const binDir = INSTALL_DIR;
100
101
  mkdirSync(binDir, { recursive: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aerostack/cli",
3
- "version": "1.5.31",
3
+ "version": "1.5.34",
4
4
  "description": "Aerostack CLI - Zero-config serverless development for Cloudflare",
5
5
  "type": "module",
6
6
  "files": [