from yardstick.cmd.commands import task
from yardstick.cmd.commands import runner
from yardstick.cmd.commands import scenario
from yardstick.cmd.commands import task
from yardstick.cmd.commands import runner
from yardstick.cmd.commands import scenario
categories = {
'task': task.TaskCommands,
'runner': runner.RunnerCommands,
categories = {
'task': task.TaskCommands,
'runner': runner.RunnerCommands,
'''run the command line interface'''
# register subcommands to parse additional command line arguments
'''run the command line interface'''
# register subcommands to parse additional command line arguments
- parser = lambda subparsers: self._add_command_parsers(
- YardstickCLI.categories, subparsers)
+ def parser(subparsers):
+ self._add_command_parsers(YardstickCLI.categories, subparsers)
+
category_opt = cfg.SubCommandOpt("category",
title="Command categories",
help="Available categories",
category_opt = cfg.SubCommandOpt("category",
title="Command categories",
help="Available categories",