Skip to content

[vtctl] hidden commands, plus misc tidying#9005

Merged
ajm188 merged 3 commits intovitessio:mainfrom
ajm188:vtctl-hidden-commands
Oct 18, 2021
Merged

[vtctl] hidden commands, plus misc tidying#9005
ajm188 merged 3 commits intovitessio:mainfrom
ajm188:vtctl-hidden-commands

Conversation

@ajm188
Copy link
Copy Markdown
Contributor

@ajm188 ajm188 commented Oct 15, 2021

Description

This PR began as a continuation of #8967, adding a new hidden field to the command struct and using that to hide commands from showing up in vtctl help rather than doing prefix matching on help text, and ... then I cleaned up some import sorting that goimports does not do and also saw a now-empty test file (which was emptied as part of #8134).

Related Issue(s)

Checklist

  • Should this PR be backported? I am going with "no" because there's no user-facing change (unlike the actual deprecation notices in the other PR), but let me know if you disagree!
  • Tests were added or are not required N/A
  • Documentation was added or is not required

Deployment Notes

Andrew Mason added 3 commits October 15, 2021 07:33
Signed-off-by: Andrew Mason <amason@slack-corp.com>
Signed-off-by: Andrew Mason <amason@slack-corp.com>
Signed-off-by: Andrew Mason <amason@slack-corp.com>
@@ -1 +0,0 @@
package vtctl
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

10/10 test coverage

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

🔥 🔥 🔥

@ajm188 ajm188 merged commit ce8d37b into vitessio:main Oct 18, 2021
@ajm188 ajm188 deleted the vtctl-hidden-commands branch October 18, 2021 19:36
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