code: def cli(env, keyword, package_type):
      
      manager = ordering.OrderingManager(env.client)
      table = formatting.Table(COLUMNS)
  
      _filter = {'type': {'keyName': {'operation': '!= BLUEMIX_SERVICE'}}}
      if keyword:
          _filter['name'] = {'operation': '*= %s' % keyword}
      if package_type:
          _filter['type'] = {'keyName': {'operation': package_type}}
  
      packages = manager.list_packages(filter=_filter)
  
      for package in packages:
          table.add_row([
              package['id'],
              package['name'],
              package['keyName'],
              package['type']['keyName']
          ])
      env.fout(table)
docs: List packages that can be ordered via the placeOrder API.
  
  
      ::
  
          # List out all packages for ordering
          slcli order package-list
  
          # List out all packages with "server" in the name
          slcli order package-list --keyword server
  
          # Select only specifict package types
          slcli order package-list --package_type BARE_METAL_CPU