Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9edde0071c
Fetching contributors…

Cannot retrieve contributors at this time

executable file 18 lines (15 sloc) 0.525 kb
#!/usr/bin/env python
import optparse
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
from anygit import clisetup
from anygit.client import fetch
def main():
parser = optparse.OptionParser('%prog [options] {add,list,approve,clear}')
parser.add_option('-t', '--type', dest='type', default='1',
help='Which type to index')
opts, args = parser.parse_args()
fetch.index_all(threads=8, approved=opts.type)
if __name__ == '__main__':
Jump to Line
Something went wrong with that request. Please try again.