third-wheel 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.
Files changed (3) hide show
  1. package/README.md +11 -5
  2. package/bin/cli.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -5,14 +5,19 @@ CLI for exporting Third Wheel recordings and transcripts.
5
5
  ## Login
6
6
 
7
7
  ```sh
8
- npx third-wheel login --app-url https://your-third-wheel-app.com
8
+ npx third-wheel login
9
9
  ```
10
10
 
11
11
  The command opens `/cli/login` in your browser. Create a token in the app,
12
12
  paste it into the terminal, and the CLI stores it at `~/.third/config.json`.
13
13
 
14
- For local development, omit `--app-url` and it defaults to
15
- `http://localhost:3000`.
14
+ By default, the CLI uses `https://third-three-lilac.vercel.app`.
15
+
16
+ For local development, pass your local app URL:
17
+
18
+ ```sh
19
+ npx third-wheel login --app-url http://localhost:3000
20
+ ```
16
21
 
17
22
  ## List Recordings
18
23
 
@@ -35,5 +40,6 @@ tools.
35
40
 
36
41
  ## Configuration
37
42
 
38
- The CLI reads `THIRD_WHEEL_APP_URL`, `APP_URL`, or `--app-url` to choose which
39
- app instance to call. Saved credentials live in `~/.third/config.json`.
43
+ The CLI reads `--app-url`, saved config, `THIRD_WHEEL_APP_URL`, or `APP_URL` to
44
+ choose which app instance to call. Saved credentials live in
45
+ `~/.third/config.json`.
package/bin/cli.js CHANGED
@@ -8,7 +8,7 @@ import { stdin as input, stdout as output } from "node:process";
8
8
 
9
9
  const CONFIG_DIR = path.join(homedir(), ".third");
10
10
  const CONFIG_FILE = path.join(CONFIG_DIR, "config.json");
11
- const DEFAULT_APP_URL = "http://localhost:3000";
11
+ const DEFAULT_APP_URL = "https://third-three-lilac.vercel.app";
12
12
 
13
13
  function usage() {
14
14
  console.log(`Usage:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "third-wheel",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "CLI for exporting Third Wheel recordings and transcripts.",
5
5
  "type": "module",
6
6
  "bin": {