Skip to content

cli: hide the completion command instead of disabling it outright #6128

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

Merged
merged 1 commit into from
Apr 16, 2025

Conversation

nalind
Copy link
Member

@nalind nalind commented Apr 15, 2025

What type of PR is this?

/kind other

What this PR does / why we need it:

Hide the cobra built-in completion command instead of disabling it outright, since eventually we want to switch to using it instead of the hand-written scripts we're currently using.

How to verify it

Run buildah completion and if it doesn't only produce an error, we're good.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

Does this PR introduce a user-facing change?

None

Hide the cobra built-in `completion` command instead of disabling it
outright, since eventually we want to switch to using it instead of the
hand-written scripts we're currently using.

Signed-off-by: Nalin Dahyabhai <[email protected]>
@nalind nalind added the No New Tests Allow PR to proceed without adding regression tests label Apr 15, 2025
Copy link
Collaborator

@flouthoc flouthoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link
Contributor

openshift-ci bot commented Apr 16, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flouthoc, Luap99, nalind

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 352eda3 into containers:main Apr 16, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved kind/other lgtm No New Tests Allow PR to proceed without adding regression tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants