1
0
mirror of https://github.com/2martens/uni.git synced 2026-05-06 11:26:25 +02:00
Files
uni/oe/Drucken/oeprint/oeprint.py
2015-04-30 09:08:07 +02:00

16 lines
592 B
Python
Executable File

#!/usr/bin/python3
import argparse
def main():
"""Main function for oeprint"""
parser = argparse.ArgumentParser(description='Printing tool for Orientation Unit')
parser.add_argument('build', metavar='build', help='the identifier of the build')
parser.add_argument('prints', metavar='numberOfPrints', type=int, help='how often the build is printed')
parser.add_argument('--printer', dest='printer', help='a valid printer name like d116_sw', default='d116_sw')
arguments = parser.parse_args()
# TODO add actual functionality
if __name__ == '__main__':
main()