@cli.group()
@click.pass_context
@click.option('--store', nargs=1, help='Name of the store to use other than default. Must be SQL.')
@click.option('--config', nargs=1, default=DEFAULT_CONFIG, help='Name of slicer.ini configuration file')
def sql(ctx, store, config):
 ctx.obj.workspace = cubes.Workspace(config)
 ctx.obj.store = ctx.obj.workspace.get_store(store)

@ cli . group ( ) @ click . pass_context @ click . option ( '--store' , nargs = 1 , help = 'Name of the store to use other than default. Must be SQL.' ) @ click . option ( '--config' , nargs = 1 , default = DEFAULT_CONFIG , help = 'Name of slicer.ini configuration file' ) def sql ( ctx , store , config ) : ctx . obj . workspace = cubes . Workspace ( config ) ctx . obj . store = ctx . obj . workspace . get_store ( store )
sql store commands .