Commit 66df3b55 authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME

Change tests

parent c0793db6
## Path leading to test blablabla.
## Option: -t, --test [default: /my/path/test.txt]
## Option: -t, --test
# test = /my/path/test.txt
'''Blablabla bli blo

Parameters
----------
xxx : :any:`list`
blabla blablo
yyy : callable
bli bla blo bla bla bla

[CONFIG]... BLA BLA BLA BLA'''
## bla bla bla.
## Option: --database, -d [default: None]
## Option: --database, -d
## registered entries are: ['basic_config', 'resource_config', 'subpackage_config']
# database = None
## bli bli bli.
## Option: --annotator, -a [default: None]
## Option: --annotator, -a
## registered entries are: ['basic_config', 'resource_config', 'subpackage_config']
# annotator = None
## blo blo blo.
## Option: --output-dir, -o [default: None]
## Option: --output-dir, -o
# output_dir = None
## lalalalalala.
## Option: --force, -f [default: False]
# force = False
## lililili.
## Option: --array [default: 1]
# array = 1
## lklklklk.
## Option: --database-directories-file [default: ~/databases.txt]
# database_directories_file = ~/databases.txt
......
......@@ -200,11 +200,11 @@ def test_config_dump2():
def cli():
pass
@cli.command(cls=ConfigCommand, entry_point_group='bob.bio.database')
@cli.command(cls=ConfigCommand, entry_point_group='bob.extension.test_config_load')
@click.option('--database', '-d', required=True, cls=ResourceOption,
entry_point_group='bob.bio.database', help="bla bla bla")
entry_point_group='bob.extension.test_config_load', help="bla bla bla")
@click.option('--annotator', '-a', required=True, cls=ResourceOption,
entry_point_group='bob.bio.annotator', help="bli bli bli")
entry_point_group='bob.extension.test_config_load', help="bli bli bli")
@click.option('--output-dir', '-o', required=True, cls=ResourceOption,
help="blo blo blo")
@click.option('--force', '-f', is_flag=True, cls=ResourceOption,
......
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