def handle(self, options, global_options, *args): from gendoc import generate_html engine = get_engine(options, global_options) if args: apps = args else: apps = self.get_apps(global_options) tables = get_tables(global_options.apps_dir, args, engine=options.engine, settings_file=global_options.settings, local_settings_file=global_options.local_settings) print generate_html(tables, apps)
def handle(self, options, global_options, *args): from gendoc import generate_html engine = get_engine(options, global_options) if args: apps = args else: apps = self.get_apps(global_options) tables = get_tables(global_options.apps_dir, args, engine_name=options.engine, settings_file=global_options.settings, local_settings_file=global_options.local_settings) print generate_html(tables, apps)
def handle(self, options, global_options, *args): from uliweb.core.SimpleFrame import Dispatcher from gendoc import generate_html app = Dispatcher(project_dir=global_options.project, start=False) if args: apps = args else: apps = self.get_apps(global_options) engine = get_engine(global_options.apps_dir) tables = get_tables(global_options.apps_dir, apps, engine=engine, settings_file=global_options.settings, local_settings_file=global_options.local_settings) print generate_html(tables, apps)