@program-video/cli 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/README.md ADDED
@@ -0,0 +1,74 @@
1
+ # @program-video/cli
2
+
3
+ CLI for the Program video creation platform.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ # Build and link globally
9
+ pnpm build
10
+ pnpm link --global
11
+
12
+ # Verify installation
13
+ program --version
14
+ ```
15
+
16
+ ## Development
17
+
18
+ ```bash
19
+ # Watch mode
20
+ pnpm dev
21
+
22
+ # Type checking
23
+ pnpm typecheck
24
+
25
+ # Lint
26
+ pnpm lint
27
+ ```
28
+
29
+ ## Configuration
30
+
31
+ | Variable | Description | Default |
32
+ |----------|-------------|---------|
33
+ | `PROGRAM_BASE_URL` | OAuth provider URL | `http://localhost:3000` |
34
+ | `PROGRAM_CONVEX_URL` | Convex deployment URL | Uses `NEXT_PUBLIC_CONVEX_URL` |
35
+
36
+ Credentials are stored in `~/.program/credentials.json`.
37
+
38
+ ## Commands
39
+
40
+ ```bash
41
+ # Authentication
42
+ program auth login # OAuth browser flow
43
+ program auth status --json # Check auth state
44
+ program auth logout # Clear credentials
45
+
46
+ # Projects
47
+ program project list --json
48
+ program project create --title "My Video" --json
49
+
50
+ # Workflows
51
+ program workflow list --json
52
+ program workflow run <templateId> --project <id> --json
53
+ program workflow status <execId> --watch --json
54
+
55
+ # Tools (direct composition manipulation)
56
+ program tool list --json
57
+ program tool exec <name> --project <id> --params '{}' --json
58
+
59
+ # Messages
60
+ program message send "text" --project <id> --json
61
+ ```
62
+
63
+ ## Documentation
64
+
65
+ - **Full Command Reference**: `skill/references/COMMANDS.md`
66
+ - **Usage Examples**: `skill/references/EXAMPLES.md`
67
+ - **Known Issues**: `KNOWN_ISSUES.md`
68
+ - **Video Quality Guide**: `VIDEO_QUALITY.md`
69
+
70
+ ## Agent Integration
71
+
72
+ This CLI is designed to be used by AI agents via the Program skill:
73
+ - Agents read `skill/SKILL.md` to learn available commands
74
+ - All commands support `--json` for machine-readable output
@@ -0,0 +1,2 @@
1
+
2
+ export { }