Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
YAPSUT
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michele Maris
YAPSUT
Commits
f6e522f9
Commit
f6e522f9
authored
2 years ago
by
Michele Maris
Browse files
Options
Downloads
Patches
Plain Diff
u
parent
0fb11b2e
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/yapsut/DummyCLI.py
+9
-0
9 additions, 0 deletions
src/yapsut/DummyCLI.py
src/yapsut/__init__.py
+2
-0
2 additions, 0 deletions
src/yapsut/__init__.py
with
11 additions
and
0 deletions
src/yapsut/DummyCLI.py
0 → 100644
+
9
−
0
View file @
f6e522f9
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
()
This diff is collapsed.
Click to expand it.
src/yapsut/__init__.py
+
2
−
0
View file @
f6e522f9
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment