8000 feat(cli): allow owner to create workspace for another user · Issue #7493 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content
feat(cli): allow owner to create workspace for another user #7493
Closed
@matifali

Description

@matifali

From the dashboard, an owner can create a workspace for any user. How can we do that from cli?
coder create --help does not show any option to specify the owner

Usage: coder create [flags] [name]

Create a workspace

Options
      --parameter-file string, $CODER_PARAMETER_FILE
          Specify a file path with parameter values.

      --rich-parameter-file string, $CODER_RICH_PARAMETER_FILE
          Specify a file path with values for rich parameters defined in the
          template.

      --start-at string, $CODER_WORKSPACE_START_AT
          Specify the workspace autostart schedule. Check coder schedule start
          --help for the syntax.

      --stop-after duration, $CODER_WORKSPACE_STOP_AFTER
          Specify a duration after which the workspace should shut down (e.g.
          8h).

  -t, --template string, $CODER_TEMPLATE_NAME
          Specify a template name.

  -y, --yes bool
          Bypass prompts.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0