-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make CLI startup faster, support tab completion with argcomplete (#173)
* Import ansible only when needed. * Import rstcheck only when needed. * Add argcomplete marker so that completion actually works. * Add changelog fragment. * Fix tests. * Improve changelog. * Improve changelog fragment. Co-authored-by: Maxwell G <maxwell@gtmx.me> * Improve code. Co-authored-by: Maxwell G <maxwell@gtmx.me> * Remove no longer needed suppression. * Fix test. --------- Co-authored-by: Maxwell G <maxwell@gtmx.me>
- Loading branch information
1 parent
2d34898
commit c15ad61
Showing
5 changed files
with
380 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
minor_changes: | ||
- "If you are using `argcomplete <https://pypi.org/project/argcomplete/>`__ global completion, you can now tab-complete ``antsibull-changelog`` command lines. | ||
See `Activating global completion <https://pypi.org/project/argcomplete/#activating-global-completion>`__ in the argcomplete README for | ||
how to enable tab completion globally. This will also tab-complete Ansible commands such as ``ansible-playbook`` and ``ansible-test`` | ||
(https://github.com/ansible-community/antsibull-changelog/pull/173)." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.