liner-cli-dev 0.1.0
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/liner-dev.js +8 -0
- package/package.json +10 -0
package/bin/liner-dev.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
// liner-cli-dev: same CLI as liner-cli, but the DEFAULT target is the dev
|
|
5
|
+
// environment (platform.liner.space). An explicit LINER_API_URL env var or
|
|
6
|
+
// --api-url flag still wins, in that order of precedence (flag > env > default).
|
|
7
|
+
process.env.LINER_API_URL = process.env.LINER_API_URL || 'https://platform.liner.space';
|
|
8
|
+
require('liner-cli/bin/liner.js');
|
package/package.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "liner-cli-dev",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Dev-environment variant of liner-cli - identical CLI pointed at platform.liner.space",
|
|
5
|
+
"bin": { "liner-cli-dev": "bin/liner-dev.js" },
|
|
6
|
+
"files": ["bin"],
|
|
7
|
+
"dependencies": { "liner-cli": "^0.1.0" },
|
|
8
|
+
"engines": { "node": ">=18" },
|
|
9
|
+
"license": "UNLICENSED"
|
|
10
|
+
}
|