import click
import os
'''
click-arguments must be passed as the function arguments
'''
@click.command()
@click.option('--p', type=str, help='Package Installer.')

def cli(p):
    i = os.system('sudo yum install -y {}'.format(p))
    click.echo('Installed {} is '.format(i))

if __name__ == '__main__':
   cli()

bfd846d586d0f615e3f17627d15659baba2fa272
<mask token>

<mask token>


@click.command()
@click.option('--p', type=str, help='Package Installer.')
def cli(p):
    i = os.system('sudo yum install -y {}'.format(p))
    click.echo('Installed {} is '.format(i))


<mask token>

<mask token>


@click.command()
@click.option('--p', type=str, help='Package Installer.')
def cli(p):
    i = os.system('sudo yum install -y {}'.format(p))
    click.echo('Installed {} is '.format(i))


if __name__ == '__main__':
    cli()

import click
import os
<mask token>


@click.command()
@click.option('--p', type=str, help='Package Installer.')
def cli(p):
    i = os.system('sudo yum install -y {}'.format(p))
    click.echo('Installed {} is '.format(i))


if __name__ == '__main__':
    cli()

import click
import os
'''
click-arguments must be passed as the function arguments
'''
@click.command()
@click.option('--p', type=str, help='Package Installer.')

def cli(p):
    i = os.system('sudo yum install -y {}'.format(p))
    click.echo('Installed {} is '.format(i))

if __name__ == '__main__':
   cli()
