mirror of
https://github.com/codex-storage/bittorrent-benchmarks.git
synced 2025-02-03 14:53:51 +00:00
drop old typer docstrings
This commit is contained in:
parent
8d24855806
commit
f22cca49e2
@ -14,18 +14,12 @@ config_parser.register(DelugeExperimentConfig)
|
||||
|
||||
|
||||
def cmd_list(experiments: Dict[str, ExperimentBuilder[Experiment]], _):
|
||||
"""
|
||||
Lists the experiments available in CONFIG.
|
||||
"""
|
||||
print(f'Available experiments are:')
|
||||
for experiment in experiments.keys():
|
||||
print(f' - {experiment}')
|
||||
|
||||
|
||||
def cmd_run(experiments: Dict[str, ExperimentBuilder[Experiment]], args):
|
||||
"""
|
||||
Runs the experiment with name EXPERIMENT.
|
||||
"""
|
||||
if args.experiment not in experiments:
|
||||
print(f'Experiment {args.experiment} not found.')
|
||||
sys.exit(-1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user