@click.group()
@click.option('--config', help='Path to configuration file. Default: ~/.curator/curator.yml', type=click.Path(exists=True), default=settings.config_file())
@click.pass_context
def repo_mgr_cli(ctx, config):
 ctx.obj = {}
 ctx.obj['client_args'] = process_config(config)
 logger = logging.getLogger(__name__)
 logger.debug('Client and logging options validated.')

@ click . group ( ) @ click . option ( '--config' , help = 'Path to configuration file. Default: ~/.curator/curator.yml' , type = click . Path ( exists = True ) , default = settings . config_file ( ) ) @ click . pass_context def repo_mgr_cli ( ctx , config ) : ctx . obj = { } ctx . obj [ 'client_args' ] = process_config ( config ) logger = logging . getLogger ( __name__ ) logger . debug ( 'Client and logging options validated.' )
repository manager for elasticsearch curator .