You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4ad4f37
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/packages/cli.mdx
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3053,12 +3053,16 @@ comments and version history as HyperFrames Desktop. Sign in with
3053
3053
`hyperframes auth login` first; API keys cannot own review projects.
3054
3054
3055
3055
```bash
3056
-
hyperframes share --public # Explicitly allow anyone with the link
3056
+
hyperframes share --public # Video only; anyone with the link
3057
+
hyperframes share --public --include-source # Also upload editable project files
3057
3058
hyperframes share --status --json # Read status; never upload local edits
3058
3059
hyperframes share --update # Render and upload the current project
3059
3060
hyperframes share --manage # Open web sharing settings
3060
3061
```
3061
3062
3063
+
Sharing uploads video only by default. `--include-source` explicitly includes portable project files, including unused and Git-ignored files; review your folder and `.hyperframesignore` first. `--video-only` remains available and cannot be combined with `--include-source`. Source inclusion must be chosen for each upload, including `--update`; `--yes` does not consent to source upload.
3064
+
3065
+
3062
3066
The first share requires an explicit audience: `--public`, `--team`,
3063
3067
`--invite-only`, or `--private`. In an attended terminal, `share` asks you to
3064
3068
choose. `--yes` suppresses questions but does not choose an audience. Available
"--space, --include-source and --video-only cannot be used with --status or --manage.",
141
+
);
142
+
}
143
+
144
+
functionvalidateSourceOptions(args: ShareArgs){
145
+
if(args["include-source"]&&args["video-only"])
146
+
thrownewCliUsageError("Choose only one of --include-source or --video-only.");
124
147
}
125
148
126
149
functionrequestedAudience(args: ShareArgs){
@@ -205,6 +228,6 @@ function sourceNotice(reason: string): string {
205
228
if(reason==="source_plan_required")
206
229
return"Your video is shared without editable project files. Upgrade to Pro to include source files: https://hyperframes.studio/pricing";
207
230
if(reason==="requested")
208
-
return"Sharing the video without editable project files (--video-only).";
231
+
return"Sharing the video without editable project files. Use --include-source to upload project files.";
209
232
return"Sharing the video without editable project files; source sharing is unavailable in this workspace.";
0 commit comments