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

Add tab completion to antsibull-build #611

Merged
merged 2 commits into from
Aug 17, 2024

Conversation

felixfontein
Copy link
Collaborator

Ref: ansible-community/antsibull-changelog#173

I did work a bit on improving startup times, but that turned out to be more complex since also constants are imported from some packages that are used in the help output, and moving them to antsibull.constants turned out not to be trivial (since they are dict keys where the values are functions from that module). Since startup time isn't that bad ("only" ~0.3 seconds) and antsibull-build isn't used by that many folks I've decided to keep the startup as-is.

@@ -0,0 +1,5 @@
minor_changes:
- "If you are using `argcomplete <https://pypi.org/project/argcomplete/>`__, you can now tab-complete ``antsibull-build`` command lines.
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That doesn't apply since argcomplete wasn't there before.

@felixfontein felixfontein merged commit bae11a5 into ansible-community:main Aug 17, 2024
9 checks passed
@felixfontein felixfontein deleted the argcomplete branch August 17, 2024 12:44
@felixfontein
Copy link
Collaborator Author

@gotmax23 thanks for reviewing this!

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.

2 participants