0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-24 00:17:37 +01:00
mongodb/buildscripts/powercycle_operations.py

15 lines
443 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
from buildscripts.powercycle_setup import cli
cli.main(sys.argv)