mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-25 23:09:49 +01:00
pull: add glob option (#5032)
* api: add glob option for pull command Related: #4816 Signed-off-by: Ioana Grigoropol <[email protected]> * api: add globbing utility function Related: #4816 Signed-off-by: Ioana Grigoropol <[email protected]> * api: use utility function for pull command Signed-off-by: Ioana Grigoropol <[email protected]> * Update dvc/utils/__init__.py Co-authored-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
co-authored by
Ruslan Kuprieiev
parent
2ce617c642
commit
f51bef040a
@@ -179,6 +179,12 @@ def add_parser(subparsers, _parent_parser):
|
||||
default=False,
|
||||
help="Fetch run history for all stages.",
|
||||
)
|
||||
pull_parser.add_argument(
|
||||
"--glob",
|
||||
action="store_true",
|
||||
default=False,
|
||||
help="Pull cache for targets matching shell-style wildcards.",
|
||||
)
|
||||
pull_parser.set_defaults(func=CmdDataPull)
|
||||
|
||||
# Push
|
||||
|
||||
Reference in New Issue
Block a user