Skip to content

Dev/olivierdubo/issues autocomplete#193

Open
duboolivier wants to merge 2 commits into
mainfrom
dev/olivierdubo/issues_autocomplete
Open

Dev/olivierdubo/issues autocomplete#193
duboolivier wants to merge 2 commits into
mainfrom
dev/olivierdubo/issues_autocomplete

Conversation

@duboolivier

Copy link
Copy Markdown
Contributor

Description

Added shell autocompletion for the --cloud-project flag across all ovhcloud cloud subcommands. When pressing TAB after --cloud-project, the CLI queries the OVHcloud API and displays the list of available project IDs with their descriptions. A new ovhcloud completion install command automatically sets up completion in the user's shell (~/.bashrc or ~/.zshrc) without any manual configuration.

Fixes #xx (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (improvement of existing commands)
  • Breaking change (fix or feature that can break a current behavior)
  • Documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have commented my code
  • I ran go mod tidy
  • I have added tests that prove my fix is effective or that my feature works

Signed-off-by: olivier dubo <olivier.dubo@ovhcloud.com>
Signed-off-by: olivier dubo <olivier.dubo@ovhcloud.com>
@duboolivier duboolivier requested a review from a team as a code owner May 21, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant