Пример #1
0
def statusmatch(args):
    """Show the version and available versions of matching packages"""
    try:
        packages = [s.strip() for s in
                    util.do_listnames(args.pattern, pipe=True).readlines()]
    except AttributeError:
        print("No packages found matching '{}'".format(args.pattern))
    else:
        util.do_status(packages)
Пример #2
0
def statusmatch(args):
    """Show the version and available versions of matching packages"""
    try:
        packages = [s.strip() for s in
                    util.do_listnames(args.pattern, pipe=True).readlines()]
    except AttributeError:
        print("No packages found matching '{}'".format(args.pattern))
    else:
        util.do_status(packages)
Пример #3
0
def status(args):
    """Show the version and available versions of packages"""
    util.do_status(args.packages)
Пример #4
0
def snapshot(args):
    """Generates a list of package=version for all installed packages"""
    util.do_status([], snapshot=True)
Пример #5
0
def status(args):
    """Show the version and available versions of packages"""
    util.do_status(args.packages)
Пример #6
0
def snapshot(args):
    """Generates a list of package=version for all installed packages"""
    util.do_status([], snapshot=True)