Example #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)
Example #2
0
 def test_list(self):
     a = Index()
     a.list()
Example #3
0
 def test_list(self):
     a = Index()
     a.list()