Skip to content

fix: unify coder create and coder delete help message #15668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
phorcys420 opened this issue Nov 26, 2024 · 2 comments · Fixed by #15752
Closed

fix: unify coder create and coder delete help message #15668

phorcys420 opened this issue Nov 26, 2024 · 2 comments · Fixed by #15752
Assignees
Labels
docs Area: coder.com/docs needs-triage Issue that require triage

Comments

@phorcys420
Copy link
Member

Problem Description

The CLI reference for coder create mentions clearly that you can create workspaces for other users, but the reference for coder delete doesn't say anything about other users.

I think we should do the following:

coder create

USAGE:
  coder create [flags] [workspace]

  Create a workspace

    - Create a workspace for another user (if you have permission):

        $ coder create <username>/<workspace_name>

coder delete

USAGE:
  coder delete [flags] <workspace>

  Delete a workspace

    - Delete a workspace for another user (if you have permission):

        $ coder delete <username>/<workspace_name>

User feedback

Based on Discord discussion

@coder-labeler coder-labeler bot added docs Area: coder.com/docs needs-triage Issue that require triage labels Nov 26, 2024
@phorcys420
Copy link
Member Author

phorcys420 commented Nov 26, 2024

I want to fix this myself but I got pretty confused as to what I have to edit for the changes to be available both on the website and in the CLI, and for it to pass test.

I would appreciate if someone from the team could link an example PR for a simple change like this.

@phorcys420 phorcys420 self-assigned this Nov 26, 2024
@matifali
Copy link
Member

I want to fix this myself but I got pretty confused as to what I have to edit for the changes to be available both on the website and in the CLI, and for it to pass test.

You should change the Description in cli directory and relevant commands go file then run make gen and make update-golden-files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Area: coder.com/docs needs-triage Issue that require triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants