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

feat(cli): Add plugins subcommand to list available and deprecated #13787

Merged
merged 3 commits into from
Aug 29, 2023

Conversation

powersj
Copy link
Contributor

@powersj powersj commented Aug 17, 2023

fixes: #11739

@telegraf-tiger telegraf-tiger bot added the feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin label Aug 17, 2023
@powersj powersj added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Aug 25, 2023
@powersj powersj marked this pull request as ready for review August 25, 2023 13:08
Copy link
Contributor

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

Some ideas to save lines...

cmd/telegraf/cmd_plugins.go Outdated Show resolved Hide resolved
cmd/telegraf/cmd_plugins.go Outdated Show resolved Hide resolved
@powersj
Copy link
Contributor Author

powersj commented Aug 29, 2023

Thanks for the suggestions. I have updated the PR to use the single generic function, this looks really nice. I did keep the existing sprintf to avoid having a missing newline at the end. Thoughts?

@telegraf-tiger
Copy link
Contributor

Copy link
Contributor

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

Lovely. Thanks @powersj!

@srebhan srebhan merged commit 1e42262 into influxdata:master Aug 29, 2023
23 checks passed
@github-actions github-actions bot added this to the v1.28.0 milestone Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add new command to list deprecation and plugins
2 participants