code: def cli(ctx, lsftdi, lsusb, lsserial, info):
      
  
      exit_code = 0
  
      if lsftdi:
          exit_code = System().lsftdi()
      elif lsusb:
          exit_code = System().lsusb()
      elif lsserial:
          exit_code = System().lsserial()
      elif info:
          click.secho('Platform: ', nl=False)
          click.secho(get_systype(), fg='yellow')
      else:
          click.secho(ctx.get_help())
  
      ctx.exit(exit_code)
docs: System tools.\n
         Install with `apio install system`