summaryrefslogtreecommitdiff
path: root/buildscripts/powercycle_operations.py
blob: 7f12835dd1904ec5cd938b8fd92c779ddf65db0e (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_setup.cli as cli

cli.main(sys.argv)