Commit ebf597d8 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Merge branch 'aliasing' into 'master'

Add prefix aliasing

See merge request !66
parents 2971f262 126b9014
Pipeline #20629 passed with stages
in 22 minutes and 1 second
...@@ -4,10 +4,11 @@ import click ...@@ -4,10 +4,11 @@ import click
import pkg_resources import pkg_resources
from click_plugins import with_plugins from click_plugins import with_plugins
from click.types import INT, FLOAT, Choice, File from click.types import INT, FLOAT, Choice, File
from bob.extension.scripts.click_helper import AliasedGroup
@with_plugins(pkg_resources.iter_entry_points('bob.measure.cli')) @with_plugins(pkg_resources.iter_entry_points('bob.measure.cli'))
@click.group() @click.group(cls=AliasedGroup)
def measure(): def measure():
"""Generic performance evaluation commands.""" """Generic performance evaluation commands."""
pass pass
......
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