@inliner/cli 0.1.0 → 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 CHANGED
@@ -151,7 +151,7 @@ inliner-ai edit photo.png "remove background" -p proj | inliner-ai edit - "add g
151
151
  | Variable | Description |
152
152
  |----------|-------------|
153
153
  | `INLINER_API_KEY` | API key (required) |
154
- | `INLINER_API_URL` | API base URL (default: `https://app.inliner.ai`) |
154
+ | `INLINER_API_URL` | API base URL (default: `https://api.inliner.ai`) |
155
155
  | `INLINER_IMG_URL` | Image CDN URL (default: `https://img.inliner.ai`) |
156
156
 
157
157
  ## Links
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ const promises_1 = require("node:fs/promises");
5
5
  const node_path_1 = require("node:path");
6
6
  const VERSION = '0.1.0';
7
7
  const IMG_BASE = process.env.INLINER_IMG_URL || 'https://img.inliner.ai';
8
- const API_BASE = process.env.INLINER_API_URL || 'https://app.inliner.ai';
8
+ const API_BASE = process.env.INLINER_API_URL || 'https://api.inliner.ai';
9
9
  function parseArgs(argv) {
10
10
  const args = argv.slice(2);
11
11
  const flags = {};
@@ -530,7 +530,7 @@ Commands:
530
530
 
531
531
  Global options:
532
532
  --api-key <key> API key (or set INLINER_API_KEY)
533
- --api-url <url> API base URL (default: https://app.inliner.ai)
533
+ --api-url <url> API base URL (default: https://api.inliner.ai)
534
534
  --json Output raw JSON (projects, images, usage)
535
535
  -h, --help Show help for a command
536
536
  -v, --version Show version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inliner/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "CLI for Inliner.ai — generate and edit AI images from the terminal",
5
5
  "main": "dist/index.js",
6
6
  "bin": {