1   /*
2    * SPDX-FileCopyrightText: none
3    * SPDX-License-Identifier: CC0-1.0
4    */
5   
6   package gov.nist.secauto.oscal.tools.cli.core.commands.metaschema;
7   
8   import gov.nist.secauto.metaschema.cli.commands.MetaschemaCommands;
9   import gov.nist.secauto.metaschema.cli.processor.command.AbstractParentCommand;
10  
11  /**
12   * A parent command implementation that organizes commands related to Metaschema
13   * operations.
14   */
15  public class MetaschemaCommand
16      extends AbstractParentCommand {
17    private static final String COMMAND = "metaschema";
18  
19    /**
20     * Construct a new parent command.
21     */
22    public MetaschemaCommand() {
23      MetaschemaCommands.COMMANDS.forEach(this::addCommandHandler);
24    }
25  
26    @Override
27    public String getName() {
28      return COMMAND;
29    }
30  
31    @Override
32    public String getDescription() {
33      return "Perform an operation on a Module";
34    }
35  }