pipx/pipx_info: refactor doc fragment (#8859)

* pipx/pipx_info: refactor doc fragment

* pipx/pipx_info: refactor common options to module_utils
This commit is contained in:
Alexei Znamensky 2024-09-14 19:27:12 +12:00 committed by GitHub
commit e4472b322b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 60 additions and 57 deletions

View file

@ -9,6 +9,12 @@ __metaclass__ = type
from ansible_collections.community.general.plugins.module_utils.cmd_runner import CmdRunner, cmd_runner_fmt as fmt
pipx_common_argspec = {
"global": dict(type='bool', default=False),
"executable": dict(type='path'),
}
_state_map = dict(
install='install',
install_all='install-all',