from yardstick.cmd.commands import task
from yardstick.cmd.commands import runner
from yardstick.cmd.commands import scenario
+from yardstick.cmd.commands import testcase
CONF = cfg.CONF
cli_opts = [
categories = {
'task': task.TaskCommands,
'runner': runner.RunnerCommands,
- 'scenario': scenario.ScenarioCommands
+ 'scenario': scenario.ScenarioCommands,
+ 'testcase': testcase.TestcaseCommands
}
def __init__(self):
'''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",