Commit 23c75023 authored by Flavio TARSETTI's avatar Flavio TARSETTI

[all_packages] replace showpath with path

parent a367e40e
Pipeline #20264 canceled with stages
in 6 minutes and 24 seconds
......@@ -29,7 +29,7 @@
"""Usage:
%(prog)s algorithms list [--remote]
%(prog)s algorithms check [<name>]...
%(prog)s algorithms showpath [<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
showpath 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['showpath']:
elif args['path']:
return common.display_local_path(args['config'].path, 'algorithm', args['<name>'])
elif args['check']:
......
......@@ -465,7 +465,7 @@ def display_local_list(prefix, type):
def display_local_path(prefix, type, names):
'''Implements the local "showpath" command
'''Implements the local "path" command
Parameters:
......
......@@ -28,7 +28,7 @@
"""Usage:
%(prog)s databases list [--remote]
%(prog)s databases showpath [<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
showpath 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['showpath']:
elif args['path']:
return common.display_local_path(configuration.path, 'database', db_names)
elif args['check']:
......
......@@ -28,7 +28,7 @@
"""Usage:
%(prog)s dataformats list [--remote]
%(prog)s dataformats showpath [<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
showpath 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['showpath']:
elif args['path']:
return common.display_local_path(args['config'].path, 'dataformat', args['<name>'])
elif args['check']:
......
......@@ -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 showpath [<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
showpath 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['showpath']:
elif args['path']:
return common.display_local_path(config.path, 'experiment', names)
elif args['check']:
......
......@@ -28,7 +28,7 @@
"""Usage:
%(prog)s libraries list [--remote]
%(prog)s libraries showpath [<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
showpath 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['showpath']:
elif args['path']:
return common.display_local_path(args['config'].path, 'library', args['<name>'])
elif args['check']:
......
......@@ -28,7 +28,7 @@
"""Usage:
%(prog)s plotterparameters list [--remote]
%(prog)s plotterparameters showpath [<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
showpath 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['showpath']:
elif args['path']:
return common.display_local_path(args['config'].path, 'plotterparameter', args['<name>'])
elif args['check']:
......
......@@ -28,7 +28,7 @@
"""Usage:
%(prog)s plotters list [--remote]
%(prog)s plotters showpath [<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
showpath 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['showpath']:
elif args['path']:
return common.display_local_path(args['config'].path, 'plotter', args['<name>'])
elif args['check']:
......
......@@ -28,7 +28,7 @@
"""Usage:
%(prog)s toolchains list [--remote]
%(prog)s toolchains showpath [<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
showpath 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['showpath']:
elif args['path']:
return common.display_local_path(args['config'].path, 'toolchain', args['<name>'])
elif args['check']:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment