Skip to content

Commit a8e8daa

Browse files
02ezCopilot
andauthored
Docs: canonicalize gh codespace ports visibility in Python setup
Replace `gh cs` with `gh codespace` for portability and docs parity; update 5000 example. No behavior change. Validated in Codespaces with $CODESPACE_NAME. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5b0a086 commit a8e8daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/setting-up-your-python-project-for-codespaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ With your dev container configuration added and a basic understanding of what ev
169169
"postCreateCommand": "pip3 install --user -r requirements.txt",
170170

171171
// Automatically set port visibility when attaching to the codespace
172-
"postAttachCommand": "gh cs ports visibility 5000:private -c \"$CODESPACE_NAME\"",
172+
"postAttachCommand": "gh codespace ports visibility 5000:private -c \"$CODESPACE_NAME\"",
173173

174174
// Configure tool-specific properties.
175175
"customizations": {

0 commit comments

Comments
 (0)