@click.command('<STR_LIT>')<EOL>@click.pass_context<EOL>@click.argument('<STR_LIT>', nargs=-<NUM_LIT:1>)<EOL>@click.option('<STR_LIT>', '<STR_LIT>', is_flag=True,<EOL>help='<STR_LIT>')<EOL>@click.option('<STR_LIT>', '<STR_LIT>', is_flag=True,<EOL>help='<STR_LIT>')<EOL>@click.option('<STR_LIT>', '<STR_LIT>', is_flag=True,<EOL>help='<STR_LIT>')<EOL>@click.option('<STR_LIT>', '<STR_LIT>', type=click.Choice(platforms),<EOL>metavar='<STR_LIT>', help='<STR_LIT>'.format(<EOL>'<STR_LIT:U+002CU+0020>'.join(platforms)))<EOL>def cli(ctx, packages, all, list, force, platform):
if packages:<EOL><INDENT>for package in packages:<EOL><INDENT>Installer(package, platform, force).install()<EOL><DEDENT><DEDENT>elif all:  <EOL><INDENT>packages = Resources(platform).packages<EOL>for package in packages:<EOL><INDENT>Installer(package, platform, force).install()<EOL><DEDENT><DEDENT>elif list:<EOL><INDENT>Resources(platform).list_packages(installed=True, notinstalled=True)<EOL><DEDENT>else:<EOL><INDENT>click.secho(ctx.get_help())<EOL><DEDENT>
Install packages.