0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-28 16:24:56 +01:00
mongodb/buildscripts/powercycle_operations.py
2021-01-29 07:49:59 +00:00

15 lines
445 B
Python

#!/usr/bin/env python3
"""Command line utility for executing operations on remote hosts."""
import os.path
import sys
# Get relative imports to work when the package is not installed on the PYTHONPATH.
if __name__ == "__main__" and __package__ is None:
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
# pylint: disable=wrong-import-position
import buildscripts.powercycle_setup.cli as cli
cli.main(sys.argv)