code: public static SettingsSchema get(Map<String, String[]> clArgs, SettingsCommand command)
      {
          String[] params = clArgs.remove("-schema");
          if (params == null)
              return new SettingsSchema(new Options(), command);
  
          if (command instanceof SettingsCommandUser)
              throw new IllegalArgumentException("-schema can only be provided with predefined operations insert, read, etc.; the 'user' command requires a schema yaml instead");
  
          GroupedOptions options = GroupedOptions.select(params, new Options());
          if (options == null)
          {
              printHelp();
              System.out.println("Invalid -schema options provided, see output for valid options");
              System.exit(1);
          }
          return new SettingsSchema((Options) options, command);
      }
docs: CLI Utility Methods