text: 
  #include <stdio.h>
  #include "domus.h"
  #include "cli/cli.h"
  #include "cli/command/command_list.h"
  #include "util/util_printer.h"
  
  /**
   * Display all available devices and their features
   * @param args Arguments
   * @return CLI status code
   */
  static int _list(char **args) {
      if (domus_system_is_active()) {
          if (!domus_has_devices()) {
              println("\tNo Devices");
          } else {
              domus_list();
          }
      }
  
      return CLI_CONTINUE;
  }
  
  Command *command_list(void) {
      return new_command(
              "list",
              "Display all available devices and their features",
              "list",
              _list);
  }