Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
/coder-v1-cliPublic archive
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Add create and del subcommands to manage devurls #57

Closed
Assignees
Russtopia
Labels
enhancementNew feature or request
@Russtopia

Description

@Russtopia

Proposal to add new subcommands,

  • create <env_name> <port> <access>
  • del <env_name> <port>

... allowing management of devurls and a full CRUD capability via coder-cli.

  • Requires prior login as a user with access to admin <env_name>
  • Subject to same site-install/org devurl access policies as doing this through the web frontend
  • Thecreate subcommand should be an idempotent operation. Callingcreate on an existing<env_name> <port> will update the devurl's<access> if a new value is specified, otherwise the command will do nothing and return success.

These commands would be useful both for end users and for integration testing with cemanager, enabling scripted devurl testing to ensure the API endpoints haven't broken by changes either in coder-cli or enterprise.

Thecreate anddel subcommandsmay require work on cdr/enterprise as well but the existing endpoints used by the web FE can/should be usable. should be able to use existing endpoints available for the web frontend.

TBD: subcommand names.create anddel may be too generic if coder-cli eventually manages other resources. Will implement as these for now, but suggestaddurl anddelurl instead?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp