1   /*
2    * SPDX-FileCopyrightText: none
3    * SPDX-License-Identifier: CC0-1.0
4    */
5   
6   package gov.nist.secauto.metaschema.cli.commands.metapath;
7   
8   import gov.nist.secauto.metaschema.cli.processor.command.AbstractParentCommand;
9   
10  public class MetapathCommand
11      extends AbstractParentCommand {
12    private static final String COMMAND = "metapath";
13  
14    /**
15     * Constructor for a new Metapath command.
16     */
17    public MetapathCommand() {
18      super(true);
19      addCommandHandler(new ListFunctionsSubcommand());
20      addCommandHandler(new EvaluateMetapathCommand());
21    }
22  
23    @Override
24    public String getName() {
25      return COMMAND;
26    }
27  
28    @Override
29    public String getDescription() {
30      return "Perform a Metapath operation.";
31    }
32  }