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 c45206e6 authored by ulrich_y's avatar ulrich_y
Browse files

Towards #6: finished interface

parent 7921c149
No related branches found
No related tags found
No related merge requests found
from PathType import PathType
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.add_argument('src', type=PathType(type='dir', dash_ok=False))
parser.add_argument('dest', type=PathType(type='dir', dash_ok=False, exists=False))
parser.add_argument('src', type=PathType(
type='dir', dash_ok=False
))
parser.add_argument('dest', type=PathType(
type='dir', dash_ok=False, exists=False
))
parser.add_argument('--keep', action='store_true')
parser.add_argument('--dry', action='store_true')
parser.add_argument('-i', action='store_true')
parser.set_defaults(func=main)
......
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