Skip to content

Commit

Permalink
add argument and option for file locaitons & regex
Browse files Browse the repository at this point in the history
  • Loading branch information
n8pease committed Aug 28, 2020
1 parent 12acbbe commit 5dd5854
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/lsst/daf/butler/cli/opt/arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@
nargs=-1)

repo_argument = MWArgumentDecorator("repo")

locations_argument = MWArgumentDecorator("locations",
callback=split_commas,
nargs=-1)
3 changes: 3 additions & 0 deletions python/lsst/daf/butler/cli/opt/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ def makeCollectionType(context, param, value):
is_flag=True)


regex_option = MWOptionDecorator("--regex")


run_option = MWOptionDecorator("--output-run",
help="The name of the run datasets should be output to.")

Expand Down

0 comments on commit 5dd5854

Please sign in to comment.