subconscious-cli 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/bin/cli.js +5 -5
  2. package/package.json +2 -2
package/bin/cli.js CHANGED
@@ -240,7 +240,7 @@ async function loginCommand() {
240
240
  console.log(`\n${c.yellow}Already logged in.${c.reset}`);
241
241
  console.log(` Key: ${c.dim}${masked}${c.reset}`);
242
242
  console.log(
243
- `\n Run ${c.cyan}subconscious logout${c.reset} first to switch accounts.\n`,
243
+ `\n Run ${c.cyan}subconscious-cli logout${c.reset} first to switch accounts.\n`,
244
244
  );
245
245
  return;
246
246
  }
@@ -326,7 +326,7 @@ async function whoamiCommand() {
326
326
  if (!key) {
327
327
  console.log(`\n ${c.dim}Not logged in.${c.reset}`);
328
328
  console.log(
329
- ` Run ${c.cyan}subconscious login${c.reset} to get started.\n`,
329
+ ` Run ${c.cyan}subconscious-cli login${c.reset} to get started.\n`,
330
330
  );
331
331
  return;
332
332
  }
@@ -359,7 +359,7 @@ async function whoamiCommand() {
359
359
  console.log(` ${c.dim}Source: ${source}${c.reset}`);
360
360
  console.log();
361
361
  console.log(
362
- ` Run ${c.cyan}subconscious logout${c.reset} then ${c.cyan}subconscious login${c.reset} to re-authenticate.`,
362
+ ` Run ${c.cyan}subconscious-cli logout${c.reset} then ${c.cyan}subconscious-cli login${c.reset} to re-authenticate.`,
363
363
  );
364
364
  }
365
365
  } catch {
@@ -378,7 +378,7 @@ function printHelp() {
378
378
  ${c.magenta}${c.bold}Subconscious CLI${c.reset}
379
379
 
380
380
  ${c.bold}Usage${c.reset}
381
- ${c.cyan}subconscious${c.reset} <command>
381
+ ${c.cyan}subconscious-cli${c.reset} <command>
382
382
 
383
383
  ${c.bold}Commands${c.reset}
384
384
  ${c.cyan}login${c.reset} Authenticate and save your API key
@@ -390,7 +390,7 @@ function printHelp() {
390
390
  ${c.dim}-v, --version${c.reset} Show version
391
391
 
392
392
  ${c.bold}Quick start${c.reset}
393
- ${c.dim}$${c.reset} npx @subconscious/cli login
393
+ ${c.dim}$${c.reset} npx subconscious-cli login
394
394
  `);
395
395
  }
396
396
 
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "subconscious-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "CLI for Subconscious — authenticate and manage your API keys",
5
5
  "bin": {
6
- "subconscious": "./bin/cli.js"
6
+ "subconscious-cli": "./bin/cli.js"
7
7
  },
8
8
  "files": [
9
9
  "bin"