Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Add coder envs edit command #151

Merged
merged 1 commit into from
Oct 22, 2020
Merged

Conversation

fuskovic
Copy link
Contributor

@fuskovic fuskovic commented Oct 21, 2020

Usage

Adds the edit command to the envs command.

Edit an existing environment owned by the active user.

Usage:
  coder envs edit [flags]

Examples:
coder envs edit back-end-env --cpu 4

coder envs edit back-end-env --disk 20

Flags:
  -c, --cpu float32      The number of cpu cores the environment should be provisioned with.
  -d, --disk int         The amount of disk storage an environment should be provisioned with.
      --follow           follow buildlog after initiating rebuild
  -g, --gpu int          The amount of disk storage to provision the environment with.
  -h, --help             help for edit
  -i, --image string     image ID of the image you wan't the environment to be based off of.
  -m, --memory float32   The amount of RAM an environment should be provisioned with.
  -t, --tag string       image tag of the image you wan't to base the environment off of. (default "latest")

Example

Screen Shot 2020-10-22 at 7 24 33 AM

@fuskovic fuskovic requested a review from cmoog October 21, 2020 21:23
@fuskovic fuskovic marked this pull request as ready for review October 21, 2020 21:23
@fuskovic fuskovic force-pushed the faris/ch1868/coder-envs-edit branch 4 times, most recently from e862243 to f5e35d6 Compare October 22, 2020 12:33
@fuskovic fuskovic requested a review from cmoog October 22, 2020 14:51
@fuskovic fuskovic force-pushed the faris/ch1868/coder-envs-edit branch from f5e35d6 to 7063d3d Compare October 22, 2020 15:42
@fuskovic fuskovic force-pushed the faris/ch1868/coder-envs-edit branch from 83e7c21 to 68dd84c Compare October 22, 2020 15:44
@fuskovic fuskovic merged commit 924ebad into master Oct 22, 2020
@cmoog cmoog deleted the faris/ch1868/coder-envs-edit branch October 22, 2020 16:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants