code: def cli(env, sortby, limit):
      
  
      mgr = SoftLayer.NetworkManager(env.client)
  
      table = formatting.Table(COLUMNS)
      table.sortby = sortby
  
      sgs = mgr.list_securitygroups(limit=limit)
      for secgroup in sgs:
          table.add_row([
              secgroup['id'],
              secgroup.get('name') or formatting.blank(),
              secgroup.get('description') or formatting.blank(),
          ])
  
      env.fout(table)
docs: List security groups.