visibly-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.
package/bin/visibly.js CHANGED
@@ -14,7 +14,7 @@ if (!command || command === 'help' || command === '--help' || command === '-h')
14
14
  setup Instrument your server to track AI bot visits
15
15
 
16
16
  Usage:
17
- npx visibly setup --domain-id <your-domain-id>
17
+ npx visibly-cli setup --domain-id <your-domain-id>
18
18
 
19
19
  Options:
20
20
  --domain-id Your Visibly domain ID (found in the dashboard)
@@ -32,5 +32,5 @@ if (command === 'setup') {
32
32
  process.exit(0)
33
33
  }
34
34
 
35
- console.error(`\n Unknown command: ${command}\n Run "npx visibly --help" for usage.\n`)
35
+ console.error(`\n Unknown command: ${command}\n Run "npx visibly-cli --help" for usage.\n`)
36
36
  process.exit(1)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "visibly-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Set up Visibly AI bot tracking on your server with one command",
5
5
  "bin": {
6
6
  "visibly": "bin/visibly.js"
package/src/setup.js CHANGED
@@ -46,7 +46,7 @@ function writeEnvLocal(domainId, cwd = process.cwd()) {
46
46
  function runSetup(domainId, { cwd = process.cwd() } = {}) {
47
47
  if (!domainId) {
48
48
  console.error('\nError: --domain-id is required.\n')
49
- console.error(' Usage: npx visibly setup --domain-id <your-domain-id>\n')
49
+ console.error(' Usage: npx visibly-cli setup --domain-id <your-domain-id>\n')
50
50
  process.exit(1)
51
51
  }
52
52