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

use renamed class names

parent 829a329b
Pipeline #16938 failed with stage
in 147 minutes and 53 seconds
......@@ -5,22 +5,22 @@ import json
import click
from os.path import dirname, isfile
from bob.extension.scripts.click_helper import (
verbosity_option, Command, Option)
verbosity_option, ConfigCommand, ResourceOption)
from import create_directories_safe
from import indices
logger = logging.getLogger(__name__)
@click.command(entry_point_group='', cls=Command)
@click.option('--database', '-d', required=True, cls=Option,
@click.command(entry_point_group='', cls=ConfigCommand)
@click.option('--database', '-d', required=True, cls=ResourceOption,
@click.option('--annotator', '-a', required=True, cls=Option,
@click.option('--annotator', '-a', required=True, cls=ResourceOption,
@click.option('--output-dir', '-o', required=True, cls=Option)
@click.option('--force', '-f', is_flag=True, cls=Option)
@click.option('--output-dir', '-o', required=True, cls=ResourceOption)
@click.option('--force', '-f', is_flag=True, cls=ResourceOption)
@click.option('--array', type=click.INT, default=1,)
def annotate(database, annotator, output_dir, force, array, **kwargs):
"""Annotates a database.
The annotations are written in text file (json) format which can be read
Supports Markdown
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