@app.command()
def info(**opts):
    repo = opts['repo']
    print('%s:' % repo)
    print('  %s' % repo.engine)
    try:
        print('  %s applied' % len(repo.applied))
        print('  %s unapplied' % (len(repo.available) - len(repo.applied)))
    except DBError:
        print('  Uninitialized repository')
Show information about repository
dataset/ETHPy150Open piranha/nomad/nomad/__init__.py/info