Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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()
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())
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]
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]