code: static SettingsCommand get(Map<String, String[]> clArgs)
      {
          for (Command cmd : Command.values())
          {
              if (cmd.category == null)
                  continue;
  
              for (String name : cmd.names)
              {
                  final String[] params = clArgs.remove(name);
                  if (params == null)
                      continue;
  
                  switch (cmd.category)
                  {
                      case BASIC:
                          return SettingsCommandPreDefined.build(cmd, params);
                      case MIXED:
                          return SettingsCommandPreDefinedMixed.build(params);
                      case USER:
                          return SettingsCommandUser.build(params);
                  }
              }
          }
          return null;
      }
docs: CLI Utility Methods