code: def cli(ctx, packages, all, list, platform):
      
  
      if packages:
          _uninstall(packages, platform)
      elif all:  # pragma: no cover
          packages = Resources(platform).packages
          _uninstall(packages, platform)
      elif list:
          Resources(platform).list_packages(installed=True, notinstalled=False)
      else:
          click.secho(ctx.get_help())
docs: Uninstall packages.