mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
bf67974459
Fix problem with hard-coded shebang in ipa command line tool by using a proper setuptools entry point for the console script. ipaclient is now an executable Python package, too. ``` $ python -m ipaclient ping ``` is equivalent to ``` $ ipa ping ``` Related: https://pagure.io/freeipa/issue/6653 Closes: https://pagure.io/freeipa/issue/6850 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
16 lines
276 B
Python
16 lines
276 B
Python
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
|
|
"""
|
|
Command Line Interface for IPA administration.
|
|
|
|
The CLI functionality is implemented in ipalib/cli.py
|
|
"""
|
|
from ipalib import api, cli
|
|
|
|
|
|
def main():
|
|
cli.run(api)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|