def test():
	dbcli = getCliInstance()
	# dbcli.insertDomain('jaysonhwang.com')
	# dbcli.insertRuleset('test','jaysonhwang.com')
	print dbcli.robotsrulesetOfDomain('www.zol.com')
	print dbcli.robotsrulesetOfDomain('jayson.com')
	dbcli.showAll()
	dbcli.close()
def getUseageMessage(self):
        return ("- TECHORANGE -\n"
                "useage:\n"
                "index - download entry page of TECHORANGE \n"
                "tag - download not obtained tag page \n"
                "news [tag] - download not obtained news [of given tag] \n")