Skip to content

Commit 678d0b9

Browse files
committed
add user_input as param for copy_examples
1 parent 3ab2efb commit 678d0b9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/diffpy/cmi/cli.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,18 @@
2626

2727

2828
def copy_examples(
29-
examples_dict: Dict[str, List[Tuple[str, Path]]], target_dir: Path = None
29+
examples_dict: Dict[str, List[Tuple[str, Path]]],
30+
user_input: List[str],
31+
target_dir: Path = None,
3032
) -> None:
3133
"""Copy an example into the the target or current working directory.
3234
3335
Parameters
3436
----------
3537
examples_dict : dict
3638
Dictionary mapping pack name -> list of (example, path) tuples.
39+
user_input : list of str
40+
List of user-specified pack(s) or example(s) to copy.
3741
target_dir : pathlib.Path, optional
3842
Target directory to copy examples into. Defaults to current
3943
working directory.

0 commit comments

Comments
 (0)