def getCliInstance():
	global _dbcli
	if not _dbcli:
		_dbcli = DatabaseHelper()
	return _dbcli
def _compileddirpats(self):
        pat, matchfunc = _buildregexmatch(
            [("glob", p, "") for p in self._globdirpats], "$"
        )
        return matchfunc