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
docs: simplify migration guide to only cover released flags
Remove migration examples for flags that were never released.
Only --app-name and --welcome-text were in the original codebase
and might be used by existing users.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
The following individual flags are still supported but deprecated. Use `--custom-strings` for new deployments:
100
+
The following flags are still supported but deprecated. Use `--custom-strings` for new deployments:
101
101
102
102
```bash
103
103
# Deprecated - use --custom-strings instead
@@ -110,40 +110,25 @@ These legacy flags will show deprecation warnings and may be removed in future v
110
110
111
111
## Migration Guide
112
112
113
-
### From Individual Flags to Custom Strings
113
+
### From Legacy Flags to Custom Strings
114
114
115
115
**Old approach:**
116
116
```bash
117
117
code-server \
118
118
--app-name "Dev Portal" \
119
-
--welcome-text "Welcome to development" \
120
-
--login-title "Portal Access"
119
+
--welcome-text "Welcome to development"
121
120
```
122
121
123
122
**New approach:**
124
123
```bash
125
124
code-server --custom-strings '{
126
-
"WELCOME": "Welcome to development",
127
-
"LOGIN_TITLE": "Portal Access"
125
+
"WELCOME": "Welcome to development"
128
126
}'
129
127
```
130
128
131
-
**Note:** The `--app-name` flag controls the `{{app}}` placeholder in templates. Use it alongside `--custom-strings` or customize the full text without placeholders.
0 commit comments