diff --git a/src/yapsut/DummyCLI.py b/src/yapsut/DummyCLI.py new file mode 100644 index 0000000000000000000000000000000000000000..386544b9cc604e85b765ddb8172c9bf62230dedc --- /dev/null +++ b/src/yapsut/DummyCLI.py @@ -0,0 +1,9 @@ +class DummyCLI : + """ this is used to create a dummy command line which is used in notebooks to simulate a parsed cli interface + it has two structures: + args = arguments passed from the CLI + Options = options passed from the CLI + """ + def __init__(self) : + self.args=struct() + self.Options=struct() diff --git a/src/yapsut/__init__.py b/src/yapsut/__init__.py index 2a287eaa0afeb11fcf474033f7e042a61215a696..34b9cb6842924d7c587a6b9012e999797f3e6610 100644 --- a/src/yapsut/__init__.py +++ b/src/yapsut/__init__.py @@ -9,6 +9,8 @@ from .files import moveFile2backup from .wavenumber_base import wavenumber_base from .profiling import timer,timerDict from .struct import struct +from .DummyCLI import DummyCLI + #from import .grep #import .intervalls