Add an option to open the web console for a given resource

Open
#1,964 1 comment 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Assessment

This issue has not been assessed yet.

Description

agent enhancement priority:medium ux

Description

Sometimes when I'm using the CLI I would like to quickly open a web browser to go to the console on a given resource page.
Could it be possible for each command to have a default webpage where the CLI send the user when passed a --web option.

How this functionality would be exposed

  • scw instance --web would open https://console.scaleway.com/instance
  • scw rdb instance list --web would open https://console.scaleway.com/rdb/instances/ with the right zone

References

Version

Version 2.3.1
BuildDate unknown
GoVersion go1.16.4
GitBranch unknown
GitCommit unknown
GoArch amd64
GoOS darwin

Dominant language
Go
Stars
997
Forks
172
Avg merge
1d 3h
Merged PRs (30d)
107

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from scaleway/scaleway-cli

All issues in scaleway/scaleway-cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.