def init(): module = module_installed(*DRIVERS.keys()) if not module: return __drivers__.append(module) init_sqlite( DRIVERS[module], getenv( 'DBEXPLORER_CFG', expanduser('~/.dbexplorer/dbexplorer.cfg')), getenv( 'SQLITEPASS_CFG', expanduser('~/.sqlitepass')), getenv( 'NAVICAT_CFG', expanduser('~/Library/Application Support/PremiumSoft CyberTech' '/preference.plist')), getenv( 'NAVICAT_CFG', expanduser('~/Library/Containers/com.prect.' 'NavicatEssentialsForSQLite/Data/Library/' 'Application Support/PremiumSoft CyberTech/' 'preference.plist')) ) Options.parser['sqlite'] = SQLiteOptionsParser()
def init(): module = module_installed(*DRIVERS.keys()) if not module: return __drivers__.append(module) init_postgresql( DRIVERS[module], getenv('DBEXPLORER_CFG', expanduser('~/.dbexplorer/dbexplorer.cfg')), getenv('PGPASS_CFG', expanduser('~/.pgpass'))) Options.parser['postgresql'] = PostgreSQLOptionsParser()
def init(): module = module_installed(*DRIVERS.keys()) if not module: return __drivers__.append(module) init_mysql( DRIVERS[module], getenv( 'DBEXPLORER_CFG', expanduser('~/.dbexplorer/dbexplorer.cfg')), getenv( 'PGPASS_CFG', expanduser('~/.mypass')) ) Options.parser['mysql'] = MySQLOptionsParser()
def init(): module = module_installed(*DRIVERS.keys()) if not module: return __drivers__.append(module) init_sqlite( DRIVERS[module], getenv('DBEXPLORER_CFG', expanduser('~/.dbexplorer/dbexplorer.cfg')), getenv('SQLITEPASS_CFG', expanduser('~/.sqlitepass')), getenv( 'NAVICAT_CFG', expanduser('~/Library/Application Support/PremiumSoft CyberTech' '/preference.plist')), getenv( 'NAVICAT_CFG', expanduser('~/Library/Containers/com.prect.' 'NavicatEssentialsForSQLite/Data/Library/' 'Application Support/PremiumSoft CyberTech/' 'preference.plist'))) Options.parser['sqlite'] = SQLiteOptionsParser()