MCPcopy Index your code
hub / github.com/O365/python-o365 / parse_arguments

Function parse_arguments

examples/onedrive_example.py:148–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146
147
148def parse_arguments():
149 parser = argparse.ArgumentParser()
150 parser.add_argument("-f", "--function", help="method used")
151 parser.add_argument("-s", "--source", help="source path", default=".")
152 parser.add_argument("-d", "--destination", help="destination path", default=".")
153 parser.add_argument("-t", "--file-type", default="")
154 return parser.parse_args()
155
156
157def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected