001/* 002 * SPDX-FileCopyrightText: none 003 * SPDX-License-Identifier: CC0-1.0 004 */ 005 006package gov.nist.secauto.metaschema.cli.commands.metapath; 007 008import gov.nist.secauto.metaschema.cli.processor.command.AbstractParentCommand; 009 010public class MetapathCommand 011 extends AbstractParentCommand { 012 private static final String COMMAND = "metapath"; 013 014 /** 015 * Constructor for a new Metapath command. 016 */ 017 public MetapathCommand() { 018 super(true); 019 addCommandHandler(new ListFunctionsSubcommand()); 020 addCommandHandler(new EvaluateMetapathCommand()); 021 } 022 023 @Override 024 public String getName() { 025 return COMMAND; 026 } 027 028 @Override 029 public String getDescription() { 030 return "Perform a Metapath operation."; 031 } 032}