Pudong c0d6fa978d
[gitpod-cli] change gp rebuild to gp validate (#16867)
* [gitpod-cli] change `gp rebuild` to `gp validate`

* fix `await-port` and `forward-port` command backward compatible

* Change the reference to `gp rebuild`

* update `gitpod-web` extension ref 3b076b9103
2023-03-17 06:51:08 +01:00
..
2022-12-08 13:05:19 -03:00
2022-04-26 03:56:37 +05:30

Gitpod CLI

A CLI binary that comes pre-installed within the Gitpod workspace environments.

Description

Here are a few of the things you can do with it:

  • Open a file in the IDE
  • Open a URL in the IDE's preview
  • Watch the progress of a running task defined on .gitpod.yml by attaching the terminal to its process.
  • Control user-defined environment variables
  • Stop the current workspace
  • Notify and wait for events to happen, to control the order of execution of terminal tasks
  • Make a port available on 0.0.0.0 so that it can be exposed to the Internet
  • Wait for a process to listen on a port
  • Print the URL of the current workspace
  • Take a snapshot of the current workspace
  • Create a Gitpod configuration for the current project

Learn more about it by running gp —-help or checking the documentation.

Contributing

  • The Gitpod CLI is written in Go.
  • Most of the functionalities that the CLI implements, make use of the Supervisor API.

If you would like to contribute to this component, check the related GitHub issues or start a discussion in the Discord #contributing channel.

Ownership

To know which Gitpod Team owns this component, check the CODEOWNERS.