Exemplo n.º 1
0
def cli_index(args):
    argdict = args.__dict__
    i = Index()
    if argdict["index_action"] == "list":
        i.list()
    elif argdict["index_action"] == "update":
        i.update()
    elif argdict["index_action"] == "generate":
        i.generate(argdict["location"])
    sys.exit(0)
Exemplo n.º 2
0
 def test_list(self):
     a = Index()
     a.list()
Exemplo n.º 3
0
 def test_list(self):
     a = Index()
     a.list()