Beispiel #1
0
def run_kitten(args):
    try:
        kitten = args[1]
    except IndexError:
        from kittens.runner import list_kittens
        list_kittens()
        raise SystemExit(1)
    sys.argv = args[1:]
    from kittens.runner import run_kitten
    run_kitten(kitten)
Beispiel #2
0
def icat(args):
    from kittens.runner import run_kitten
    sys.argv = args
    run_kitten('icat')
Beispiel #3
0
def run_kitten(args):
    kitten = args[1]
    sys.argv = args[1:]
    from kittens.runner import run_kitten
    run_kitten(kitten)