@wildbappy/bappy-cli 0.1.1 → 0.1.2
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/README.md +4 -2
- package/bin/bappy.js +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
# comptracker CLI (
|
|
1
|
+
# comptracker CLI (legacy package name: @wildbappy/bappy-cli)
|
|
2
2
|
|
|
3
3
|
Command-line access to Comptracker's competitive intelligence dashboard subagent API.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install -g @wildbappy/
|
|
8
|
+
npm install -g @wildbappy/comptracker-cli
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
This package (`@wildbappy/bappy-cli`) remains supported for backwards compatibility, but the recommended install is `@wildbappy/comptracker-cli` so the install command matches the CLI name.
|
|
12
|
+
|
|
11
13
|
## First Run
|
|
12
14
|
|
|
13
15
|
```bash
|
package/bin/bappy.js
CHANGED
|
@@ -13,6 +13,9 @@ const TOOL_NAME = 'comptracker';
|
|
|
13
13
|
const TOOL_ALIASES = ['bappy'];
|
|
14
14
|
|
|
15
15
|
function notifyIfUpdateAvailable() {
|
|
16
|
+
// When invoked via the @wildbappy/comptracker-cli wrapper, let the wrapper
|
|
17
|
+
// handle update notifications so users aren't told to upgrade the dependency.
|
|
18
|
+
if (process.env.COMPTRACKER_CLI_WRAPPER === '1') return;
|
|
16
19
|
try {
|
|
17
20
|
const updateNotifier = require('update-notifier');
|
|
18
21
|
const pkg = require('../package.json');
|