We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ab2efb commit 678d0b9Copy full SHA for 678d0b9
src/diffpy/cmi/cli.py
@@ -26,14 +26,18 @@
26
27
28
def copy_examples(
29
- examples_dict: Dict[str, List[Tuple[str, Path]]], target_dir: Path = None
+ examples_dict: Dict[str, List[Tuple[str, Path]]],
30
+ user_input: List[str],
31
+ target_dir: Path = None,
32
) -> None:
33
"""Copy an example into the the target or current working directory.
34
35
Parameters
36
----------
37
examples_dict : dict
38
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.
41
target_dir : pathlib.Path, optional
42
Target directory to copy examples into. Defaults to current
43
working directory.
0 commit comments