Created
December 6, 2017 15:25
-
-
Save apahim/3852c4af036723cd9b62da7bec455931 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
OO Example | |
""" | |
import argparse | |
import job | |
import logging | |
logging.basicConfig() | |
LOG = logging.getLogger(__name__) | |
if __name__ == '__main__': | |
_PARSER = argparse.ArgumentParser(description='OO CLI') | |
_PARSER.add_argument('--vm', help="VM Name") | |
_PARSER.add_argument('--storage', help="Storage Name") | |
args = _PARSER.parse_args() | |
j = job.Job(args.vm, args.storage) | |
j.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment