massive-cli 0.0.4 → 0.0.5
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 +2 -2
- package/dist/cli.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,11 +21,11 @@ npx -y massive-cli <command> [options]
|
|
|
21
21
|
|
|
22
22
|
2. **Configure API Key:**
|
|
23
23
|
```bash
|
|
24
|
-
export
|
|
24
|
+
export MASSIVE_API_KEY=your_api_key_here
|
|
25
25
|
```
|
|
26
26
|
or create a .env file in the root directory:
|
|
27
27
|
```
|
|
28
|
-
|
|
28
|
+
MASSIVE_API_KEY=your_api_key_here
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
3. **Build:**
|
package/dist/cli.js
CHANGED
|
@@ -21177,10 +21177,10 @@ var Jo = (a, e, t) => {
|
|
|
21177
21177
|
|
|
21178
21178
|
// src/lib/utils.ts
|
|
21179
21179
|
function getApiKey() {
|
|
21180
|
-
const key = process.env.POLY_API_KEY;
|
|
21180
|
+
const key = process.env.MASSIVE_API_KEY || process.env.POLY_API_KEY;
|
|
21181
21181
|
if (!key) {
|
|
21182
|
-
console.error("Error: POLY_API_KEY environment variable is not set.");
|
|
21183
|
-
console.error("Create a .env file with:
|
|
21182
|
+
console.error("Error: MASSIVE_API_KEY or POLY_API_KEY environment variable is not set.");
|
|
21183
|
+
console.error("Create a .env file with: MASSIVE_API_KEY=your_key_here");
|
|
21184
21184
|
process.exit(1);
|
|
21185
21185
|
}
|
|
21186
21186
|
return key;
|