Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 05aa7112 authored by ulrich_y's avatar ulrich_y
Browse files

Towards #6: create file

parent 739df905
No related branches found
No related tags found
No related merge requests found
import argparse
import createrun
import duplicaterun
if __name__ == '__main__':
......@@ -7,6 +8,7 @@ if __name__ == '__main__':
subparsers = parser.add_subparsers()
createrun.create_parser(subparsers)
duplicaterun.create_parser(subparsers)
parsed = parser.parse_args()
parsed.func(parsed)
def create_parser(subparsers):
parser = subparsers.add_parser(
'cp',
description='Copies a set run with or without data to a '
'new location relative to pwd'
)
parser.set_defaults(func=main)
def main(parsed):
print parsed
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment