1   /*
2    * SPDX-FileCopyrightText: none
3    * SPDX-License-Identifier: CC0-1.0
4    */
5   
6   package gov.nist.secauto.oscal.tools.cli.core.commands.componentdefinition;
7   
8   import gov.nist.secauto.metaschema.cli.processor.command.AbstractParentCommand;
9   
10  public class ComponentDefinitionCommand
11      extends AbstractParentCommand {
12    private static final String COMMAND = "component-definition";
13  
14    public ComponentDefinitionCommand() {
15      super(true);
16      addCommandHandler(new ValidateSubcommand());
17      // addCommandHandler(new RenderSubcommand());
18      addCommandHandler(new ConvertSubcommand());
19    }
20  
21    @Override
22    public String getName() {
23      return COMMAND;
24    }
25  
26    @Override
27    public String getDescription() {
28      return "Perform an operation on an OSCAL Component Definition";
29    }
30  
31  }