blob: 3d15428bfafafc5791b77fc47cfc3337df59adb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 10.1.0',
help="show the version of the Ansible community package",
)
parser.parse_args()
parser.print_help()
if __name__ == '__main__':
main()
|