Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.cmdline
Commits
23c75023
Commit
23c75023
authored
May 17, 2018
by
Flavio TARSETTI
Browse files
[all_packages] replace showpath with path
parent
a367e40e
Pipeline
#20264
canceled with stages
in 6 minutes and 24 seconds
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
beat/cmdline/algorithms.py
View file @
23c75023
...
...
@@ -29,7 +29,7 @@
"""Usage:
%(prog)s algorithms list [--remote]
%(prog)s algorithms check [<name>]...
%(prog)s algorithms
show
path [<name>]...
%(prog)s algorithms path [<name>]...
%(prog)s algorithms pull [--force] [<name>]...
%(prog)s algorithms push [--force] [--dry-run] [<name>]...
%(prog)s algorithms diff <name>
...
...
@@ -45,7 +45,7 @@
Commands:
list Lists all the algorithms available on the platform
show
path Displays local path of algorithm files
path Displays local path of algorithm files
check Checks a local algorithm for validity
pull Downloads the specified algorithms from the server
push Uploads algorithms to the server
...
...
@@ -353,7 +353,7 @@ def process(args):
else
:
return
common
.
display_local_list
(
args
[
'config'
].
path
,
'algorithm'
)
elif
args
[
'
show
path'
]:
elif
args
[
'path'
]:
return
common
.
display_local_path
(
args
[
'config'
].
path
,
'algorithm'
,
args
[
'<name>'
])
elif
args
[
'check'
]:
...
...
beat/cmdline/common.py
View file @
23c75023
...
...
@@ -465,7 +465,7 @@ def display_local_list(prefix, type):
def
display_local_path
(
prefix
,
type
,
names
):
'''Implements the local "
show
path" command
'''Implements the local "path" command
Parameters:
...
...
beat/cmdline/databases.py
View file @
23c75023
...
...
@@ -28,7 +28,7 @@
"""Usage:
%(prog)s databases list [--remote]
%(prog)s databases
show
path [<name>]...
%(prog)s databases path [<name>]...
%(prog)s databases check [<name>]...
%(prog)s databases pull [--force] [<name>]...
%(prog)s databases push [--force] [--dry-run] [<name>]...
...
...
@@ -47,7 +47,7 @@ Arguments:
Commands:
list Lists all the databases available on the platform
show
path Displays local path of databases files
path Displays local path of databases files
check Checks a local database for validity
pull Downloads the specified databases from the server
push Uploads databases to the server (must provide a valid admin token)
...
...
@@ -642,7 +642,7 @@ def process(args):
else
:
return
common
.
display_local_list
(
configuration
.
path
,
'database'
)
elif
args
[
'
show
path'
]:
elif
args
[
'path'
]:
return
common
.
display_local_path
(
configuration
.
path
,
'database'
,
db_names
)
elif
args
[
'check'
]:
...
...
beat/cmdline/dataformats.py
View file @
23c75023
...
...
@@ -28,7 +28,7 @@
"""Usage:
%(prog)s dataformats list [--remote]
%(prog)s dataformats
show
path [<name>]...
%(prog)s dataformats path [<name>]...
%(prog)s dataformats check [<name>]...
%(prog)s dataformats pull [--force] [<name>]...
%(prog)s dataformats push [--force] [--dry-run] [<name>]...
...
...
@@ -43,7 +43,7 @@
Commands:
list Lists all the dataformats available on the platform
show
path Displays local path of dataformats files
path Displays local path of dataformats files
check Checks a local dataformat for validity
pull Downloads the specified dataformats from the server
push Uploads dataformats to the server
...
...
@@ -153,7 +153,7 @@ def process(args):
else
:
return
common
.
display_local_list
(
args
[
'config'
].
path
,
'dataformat'
)
elif
args
[
'
show
path'
]:
elif
args
[
'path'
]:
return
common
.
display_local_path
(
args
[
'config'
].
path
,
'dataformat'
,
args
[
'<name>'
])
elif
args
[
'check'
]:
...
...
beat/cmdline/experiments.py
View file @
23c75023
...
...
@@ -31,7 +31,7 @@
%(prog)s experiments caches [--list | --delete | --checksum] <name>
%(prog)s experiments list [--remote]
%(prog)s experiments check [<name>]...
%(prog)s experiments
show
path [<name>]...
%(prog)s experiments path [<name>]...
%(prog)s experiments pull [--force] [<name>]...
%(prog)s experiments push [--force] [--dry-run] [<name>]...
%(prog)s experiments diff <name>
...
...
@@ -47,7 +47,7 @@ Commands:
run Runs an experiment locally
caches Lists all cache files used by this experiment
list Lists all the experiments available on the platform
show
path Displays local path of experiments files
path Displays local path of experiments files
check Checks a local experiment for validity
pull Downloads the specified experiments from the server
push Uploads experiments to the server
...
...
@@ -600,7 +600,7 @@ def process(args):
else
:
return
common
.
display_local_list
(
config
.
path
,
'experiment'
)
elif
args
[
'
show
path'
]:
elif
args
[
'path'
]:
return
common
.
display_local_path
(
config
.
path
,
'experiment'
,
names
)
elif
args
[
'check'
]:
...
...
beat/cmdline/libraries.py
View file @
23c75023
...
...
@@ -28,7 +28,7 @@
"""Usage:
%(prog)s libraries list [--remote]
%(prog)s libraries
show
path [<name>]...
%(prog)s libraries path [<name>]...
%(prog)s libraries check [<name>]...
%(prog)s libraries pull [--force] [<name>]...
%(prog)s libraries push [--force] [--dry-run] [<name>]...
...
...
@@ -43,7 +43,7 @@
Commands:
list Lists all the libraries available on the platform
show
path Displays local path of libraries files
path Displays local path of libraries files
check Checks a local library for validity
pull Downloads the specified libraries from the server
push Uploads libraries to the server
...
...
@@ -148,7 +148,7 @@ def process(args):
else
:
return
common
.
display_local_list
(
args
[
'config'
].
path
,
'library'
)
elif
args
[
'
show
path'
]:
elif
args
[
'path'
]:
return
common
.
display_local_path
(
args
[
'config'
].
path
,
'library'
,
args
[
'<name>'
])
elif
args
[
'check'
]:
...
...
beat/cmdline/plotterparameters.py
View file @
23c75023
...
...
@@ -28,7 +28,7 @@
"""Usage:
%(prog)s plotterparameters list [--remote]
%(prog)s plotterparameters
show
path [<name>]...
%(prog)s plotterparameters path [<name>]...
%(prog)s plotterparameters check [<name>]...
%(prog)s plotterparameters pull [--force] [<name>]...
%(prog)s plotterparameters create <name>...
...
...
@@ -40,7 +40,7 @@
Commands:
list Lists all the plotterparameters available locally
show
path Displays local path of plotterparameters files
path Displays local path of plotterparameters files
check Checks a local plotterparameter for validity
pull Downloads the specified plotterparameters from the server
create Creates a new local plotterparameter
...
...
@@ -115,7 +115,7 @@ def process(args):
else
:
return
common
.
display_local_list
(
args
[
'config'
].
path
,
'plotterparameter'
)
elif
args
[
'
show
path'
]:
elif
args
[
'path'
]:
return
common
.
display_local_path
(
args
[
'config'
].
path
,
'plotterparameter'
,
args
[
'<name>'
])
elif
args
[
'check'
]:
...
...
beat/cmdline/plotters.py
View file @
23c75023
...
...
@@ -28,7 +28,7 @@
"""Usage:
%(prog)s plotters list [--remote]
%(prog)s plotters
show
path [<name>]...
%(prog)s plotters path [<name>]...
%(prog)s plotters check [<name>]...
%(prog)s plotters pull [--force] [<name>]...
%(prog)s plotters plot [--show] [--force] [--sample_data] [--inputdata=<filename.json>] [--outputimage=<filename.png>] [--plotterparameter=<plotterparameter>] [<name>]...
...
...
@@ -41,7 +41,7 @@
Commands:
list Lists all the plotters available locally
show
path Displays local path of plotters files
path Displays local path of plotters files
check Checks a local plotter for validity
pull Downloads the specified plotters from the server
plot Plots an image
...
...
@@ -280,7 +280,7 @@ def process(args):
else
:
return
common
.
display_local_list
(
args
[
'config'
].
path
,
'plotter'
)
elif
args
[
'
show
path'
]:
elif
args
[
'path'
]:
return
common
.
display_local_path
(
args
[
'config'
].
path
,
'plotter'
,
args
[
'<name>'
])
elif
args
[
'check'
]:
...
...
beat/cmdline/toolchains.py
View file @
23c75023
...
...
@@ -28,7 +28,7 @@
"""Usage:
%(prog)s toolchains list [--remote]
%(prog)s toolchains
show
path [<name>]...
%(prog)s toolchains path [<name>]...
%(prog)s toolchains check [<name>]...
%(prog)s toolchains pull [--force] [<name>]...
%(prog)s toolchains push [--force] [--dry-run] [<name>]...
...
...
@@ -44,7 +44,7 @@
Commands:
list Lists all the toolchains available on the platform
show
path Displays local path of toolchains files
path Displays local path of toolchains files
check Checks a local toolchain for validity
pull Downloads the specified toolchains from the server
push Uploads toolchains to the server
...
...
@@ -78,7 +78,7 @@ def process(args):
else
:
return
common
.
display_local_list
(
args
[
'config'
].
path
,
'toolchain'
)
elif
args
[
'
show
path'
]:
elif
args
[
'path'
]:
return
common
.
display_local_path
(
args
[
'config'
].
path
,
'toolchain'
,
args
[
'<name>'
])
elif
args
[
'check'
]:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment