summaryrefslogtreecommitdiff
path: root/buildscripts/powercycle_operations.py
blob: a83a134191f70fa32a5406eeab6404f0bf48fe50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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)