@wave-av/cli 1.0.0 → 1.0.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 +12 -12
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @wave
|
|
1
|
+
# @wave/cli
|
|
2
2
|
|
|
3
3
|
Command-line interface for the WAVE streaming platform. Manage streams, productions, and infrastructure from your terminal.
|
|
4
4
|
|
|
@@ -6,16 +6,16 @@ Command-line interface for the WAVE streaming platform. Manage streams, producti
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
# npm
|
|
9
|
-
npm install -g @wave
|
|
9
|
+
npm install -g @wave/cli
|
|
10
10
|
|
|
11
11
|
# pnpm
|
|
12
|
-
pnpm add -g @wave
|
|
12
|
+
pnpm add -g @wave/cli
|
|
13
13
|
|
|
14
14
|
# npx (one-off usage)
|
|
15
|
-
npx @wave
|
|
15
|
+
npx @wave/cli stream list
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
## Quick
|
|
18
|
+
## Quick Start
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
21
|
# Authenticate
|
|
@@ -46,7 +46,7 @@ wave login
|
|
|
46
46
|
wave login --api-key wave_live_your_key_here
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
### Multi-
|
|
49
|
+
### Multi-Project Context
|
|
50
50
|
|
|
51
51
|
```bash
|
|
52
52
|
# Separate environments
|
|
@@ -68,7 +68,7 @@ export WAVE_ORG_ID=org_123
|
|
|
68
68
|
wave stream list # Uses env vars automatically
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
## Command
|
|
71
|
+
## Command Groups
|
|
72
72
|
|
|
73
73
|
| Group | Description | Example |
|
|
74
74
|
| -------------- | ----------------------- | ------------------------------------------ |
|
|
@@ -109,7 +109,7 @@ wave stream list # Uses env vars automatically
|
|
|
109
109
|
| `drm` | Content protection | `wave drm licenses list` |
|
|
110
110
|
| `billing` | Billing & usage | `wave billing status` |
|
|
111
111
|
|
|
112
|
-
## Developer
|
|
112
|
+
## Developer Tools
|
|
113
113
|
|
|
114
114
|
| Command | Description |
|
|
115
115
|
| ---------------------- | -------------------------------------- |
|
|
@@ -120,7 +120,7 @@ wave stream list # Uses env vars automatically
|
|
|
120
120
|
| `wave open [page]` | Open WAVE dashboard in browser |
|
|
121
121
|
| `wave init [name]` | Scaffold a new project from templates |
|
|
122
122
|
|
|
123
|
-
## Global
|
|
123
|
+
## Global Flags
|
|
124
124
|
|
|
125
125
|
| Flag | Description |
|
|
126
126
|
| ----------------------- | ------------------------------------------------ |
|
|
@@ -131,7 +131,7 @@ wave stream list # Uses env vars automatically
|
|
|
131
131
|
| `--no-color` | Disable colored output |
|
|
132
132
|
| `--debug` | Verbose debug logging |
|
|
133
133
|
|
|
134
|
-
## Environment
|
|
134
|
+
## Environment Variables
|
|
135
135
|
|
|
136
136
|
| Variable | Description |
|
|
137
137
|
| --------------------- | --------------------------------- |
|
|
@@ -143,7 +143,7 @@ wave stream list # Uses env vars automatically
|
|
|
143
143
|
| `WAVE_NO_COLOR=1` | Disable colors |
|
|
144
144
|
| `WAVE_NO_TELEMETRY=1` | Disable telemetry |
|
|
145
145
|
|
|
146
|
-
## Shell
|
|
146
|
+
## Shell Completions
|
|
147
147
|
|
|
148
148
|
```bash
|
|
149
149
|
# Bash
|
|
@@ -167,7 +167,7 @@ jobs:
|
|
|
167
167
|
deploy:
|
|
168
168
|
runs-on: ubuntu-latest
|
|
169
169
|
steps:
|
|
170
|
-
- run: npm install -g @wave
|
|
170
|
+
- run: npm install -g @wave/cli
|
|
171
171
|
- run: wave stream create --title "Auto Stream" --protocol webrtc --confirm --output json
|
|
172
172
|
env:
|
|
173
173
|
WAVE_API_KEY: ${{ secrets.WAVE_API_KEY }}
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import chalk5 from "chalk";
|
|
|
9
9
|
|
|
10
10
|
// src/lib/errors.ts
|
|
11
11
|
import chalk2 from "chalk";
|
|
12
|
-
import { WaveError, RateLimitError } from "@wave
|
|
12
|
+
import { WaveError, RateLimitError } from "@wave/sdk";
|
|
13
13
|
|
|
14
14
|
// src/lib/exit-codes.ts
|
|
15
15
|
var EXIT_CODES = {
|
|
@@ -749,7 +749,7 @@ function setNestedValue(obj, path, value) {
|
|
|
749
749
|
import chalk9 from "chalk";
|
|
750
750
|
|
|
751
751
|
// src/lib/api-client.ts
|
|
752
|
-
import { Wave } from "@wave
|
|
752
|
+
import { Wave } from "@wave/sdk";
|
|
753
753
|
import chalk8 from "chalk";
|
|
754
754
|
async function getClient(opts) {
|
|
755
755
|
const envApiKey = process.env["WAVE_API_KEY"];
|
|
@@ -3328,7 +3328,7 @@ Creating "${projectName}" with ${selectedTemplate.name} template...
|
|
|
3328
3328
|
await mkdir3(join4(dir, "src"), { recursive: true });
|
|
3329
3329
|
}
|
|
3330
3330
|
await rewritePackageName(dir, projectName);
|
|
3331
|
-
const configContent = `import { defineConfig } from "@wave
|
|
3331
|
+
const configContent = `import { defineConfig } from "@wave/sdk";
|
|
3332
3332
|
|
|
3333
3333
|
export default defineConfig({
|
|
3334
3334
|
project: "${projectName}",
|