0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
mongodb/buildscripts/powercycle_operations.py

15 lines
439 B
Python
Raw Normal View History

#!/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.cli as cli
cli.main(sys.argv)