diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 16:03:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 16:03:42 +0000 |
commit | 66cec45960ce1d9c794e9399de15c138acb18aed (patch) | |
tree | 59cd19d69e9d56b7989b080da7c20ef1a3fe2a5a /ansible_collections/ansible_community.py | |
parent | Initial commit. (diff) | |
download | ansible-66cec45960ce1d9c794e9399de15c138acb18aed.tar.xz ansible-66cec45960ce1d9c794e9399de15c138acb18aed.zip |
Adding upstream version 7.3.0+dfsg.upstream/7.3.0+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/ansible_community.py')
-rw-r--r-- | ansible_collections/ansible_community.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ansible_collections/ansible_community.py b/ansible_collections/ansible_community.py new file mode 100644 index 00000000..2b9eeb93 --- /dev/null +++ b/ansible_collections/ansible_community.py @@ -0,0 +1,26 @@ +#!/usr/bin/python +# coding: utf-8 +# Author: Mario Lenz <m@riolenz.de> +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) +# SPDX-License-Identifier: GPL-3.0-or-later +# SPDX-FileCopyrightText: Ansible Project, 2022 +"""The ansible-community CLI program.""" + +import argparse + + +def main(): + '''Main entrypoint for the ansible-community CLI program.''' + parser = argparse.ArgumentParser() + parser.add_argument( + '--version', + action='version', + version='Ansible community version 7.3.0', + help="show the version of the Ansible community package", + ) + parser.parse_args() + parser.print_help() + + +if __name__ == '__main__': + main() |