Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: feat(gitpod-cli): Enable completion command and unhide it #13610

Closed
wants to merge 3 commits into from

Conversation

axonasif
Copy link
Member

@axonasif axonasif commented Oct 5, 2022

Description

Glad I stumbled upon the codebase, I was literally about to write the completion scripts for use with my fish shell. It's kind of funny how this wasn't mentioned anywhere but it was already there for bash 😬 gp CLI got lots of subcommands and options, having tab-completion is super helpful, always missed it.

Related Issue(s)

Fixes #

How to test

  1. Open a workspace in preview env
  2. Type gp and hit Tab key.
  • To check for other shells, just switch to them by fish or zsh
  • And redo 2.

Release Notes

Tab-completions of `gp` CLI is now auto installed for bash, fish and zsh

Documentation

  • Have to document as well

Werft options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide

@roboquat roboquat added size/L and removed size/M labels Oct 15, 2022
@axonasif
Copy link
Member Author

axonasif commented Oct 15, 2022

/werft run

👍 started the job as gitpod-build-axon-gp-completion.2
(with .werft/ from main)

@axonasif
Copy link
Member Author

axonasif commented Oct 15, 2022

/werft run

👍 started the job as gitpod-build-axon-gp-completion.3
(with .werft/ from main)

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-axon-gp-completion.4 because the annotations in the pull request description changed
(with .werft/ from main)

@axonasif axonasif changed the title feat(gitpod-cli): Enable completion command and unhide it Proposal: feat(gitpod-cli): Enable completion command and unhide it Oct 15, 2022
@axonasif
Copy link
Member Author

axonasif commented Oct 15, 2022

/werft run

👍 started the job as gitpod-build-axon-gp-completion.6
(with .werft/ from main)

@axonasif
Copy link
Member Author

axonasif commented Oct 15, 2022

/werft run with-clean-slate-deployment

👍 started the job as gitpod-build-axon-gp-completion.7
(with .werft/ from main)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants