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
- Rename YesFlags fields for clarity: remote -> publish_to_remote,
migrate -> migrate_major_version.
- Replace the catch-all `all: bool` with an explicit `delete_data: bool`
field plus a `delete-data` value, since the field is only used to gate
the destructive `confirm_and_clear` prompt.
- Switch the arg to ArgAction::Append + num_args(0..=1) so users can
accumulate values across repeated invocations
(--yes=migrate --yes=skip-login).
- Use ',' as the in-string separator (more familiar than '|').
Copy file name to clipboardExpand all lines: docs/docs/00300-resources/00200-reference/00100-cli-reference/00100-cli-reference.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ Run `spacetime help publish` for more detailed information.
108
108
If an organization is given, the organization member's permissions apply to the new database.
109
109
An organization can only be set when a database is created, not when it is updated.
110
110
*`-s`, `--server <SERVER>` — The nickname, domain name or URL of the server to host the database.
111
-
*`-y`, `--yes <YES>` — Skip confirmation prompts. With no value, defaults to 'all' (equivalent to --yes=all). To skip specific prompts, pass one or more of: all, remote, migrate, break-clients, skip-login -- joined by '|', e.g. --yes='migrate|break-clients'. The value must be attached with '=' (so `--yes my-db` treats `my-db` as the database name).
111
+
*`-y`, `--yes <YES>` — Skip confirmation prompts. With no value, defaults to 'all' (equivalent to --yes=all). To skip specific prompts, pass one or more of: all, remote, migrate, break-clients, skip-login, delete-data. Multiple values can be comma-separated (--yes=migrate,break-clients) or given via repeated flags (--yes=migrate --yes=break-clients). The value must be attached with '=' (so `--yes my-db` treats `my-db` as the database name).
112
112
113
113
Possible values:
114
114
-`all`:
@@ -121,6 +121,8 @@ Run `spacetime help publish` for more detailed information.
121
121
Skip the "this will BREAK existing clients" confirmation
122
122
-`skip-login`:
123
123
Don't prompt the user to log in; act non-interactively for auth
124
+
-`delete-data`:
125
+
Skip the destructive "this will DESTROY ... ALL corresponding data" confirmation
0 commit comments