How to use runlike - 4 common examples

To help you get started, we’ve selected a few runlike examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lavie / runlike / test_runlike.py View on Github external
def setUpClass(cls):
        check_output("./fixtures.sh")
        cls.outputs = {}
        for i in range(5):

            ins = Inspector("runlike_fixture%d" % (i + 1), True, True)
            ins.inspect()
            cls.outputs[i + 1] = ins.format_cli()
github lavie / runlike / runlike / runlike.py View on Github external
def cli(container, no_name, pretty):

    # TODO: -i, -t, -d as added options that override the inspection
    ins = Inspector(container, no_name, pretty)
    ins.inspect()
    print(ins.format_cli())
github lavie / runlike / setup.py View on Github external
from setuptools import setup
from runlike import __version__

setup(
    name='runlike',
    version=__version__,
    py_modules=['runlike'],
    packages=['runlike'],
    description='Reverse-engineer docker run command line arguments based on running containers',
    author='Assaf Lavie',
    author_email='a@assaflavie.com',
    url='https://github.com/lavie/runlike/',
    download_url='https://github.com/lavie/runlike/tarball/%s' % __version__,
    keywords=[
        'docker',
        'cli'],
    install_requires=[
        'Click',
    ],
    entry_points='''
[console_scripts]
github lavie / runlike / setup.py View on Github external
from setuptools import setup
from runlike import __version__

setup(
    name='runlike',
    version=__version__,
    py_modules=['runlike'],
    packages=['runlike'],
    description='Reverse-engineer docker run command line arguments based on running containers',
    author='Assaf Lavie',
    author_email='a@assaflavie.com',
    url='https://github.com/lavie/runlike/',
    download_url='https://github.com/lavie/runlike/tarball/%s' % __version__,
    keywords=[
        'docker',
        'cli'],
    install_requires=[
        'Click',
    ],
    entry_points='''
[console_scripts]

runlike

Reverse-engineer docker run command line arguments based on running containers

MIT
Latest version published 1 year ago

Package Health Score

38 / 100
Full package analysis

Similar packages