コード例 #1
0
ファイル: commands.py プロジェクト: pombredanne/wajig
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
ファイル: commands.py プロジェクト: timonegk/wajig
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
ファイル: commands.py プロジェクト: pombredanne/wajig
def status(args):
    """Show the version and available versions of packages"""
    util.do_status(args.packages)
コード例 #4
0
ファイル: commands.py プロジェクト: pombredanne/wajig
def snapshot(args):
    """Generates a list of package=version for all installed packages"""
    util.do_status([], snapshot=True)
コード例 #5
0
ファイル: commands.py プロジェクト: timonegk/wajig
def status(args):
    """Show the version and available versions of packages"""
    util.do_status(args.packages)
コード例 #6
0
ファイル: commands.py プロジェクト: timonegk/wajig
def snapshot(args):
    """Generates a list of package=version for all installed packages"""
    util.do_status([], snapshot=True)