Skip to content

[cli] Implement a gp command to get preview URLs #246

Closed
@jankeromnes

Description

@jankeromnes

Some projects' development servers only accept requests with a pre-specified host (e.g. localhost, or example.com) and any request using a different host will get dropped (for example Gitpod preview URLs). Note: This is orthogonal to binding ports on localhost or 0.0.0.0.

@32leaves suggested we could have a gp command that returns preview URLs.

I suggest the following new feature:

$ gp preview-url 4242
https://4242-abcdef01-2345-6789-81e5-e7f1005fb9c8.ws-eu.gitpod.io/

Should we also have a way to list currently running ports? Or maybe implement auto-complete for this? Comments/suggestions very welcome.

Metadata

Metadata

Assignees

No one assigned

    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