001/*
002 * SPDX-FileCopyrightText: none
003 * SPDX-License-Identifier: CC0-1.0
004 */
005
006package dev.metaschema.oscal.tools.cli.core.commands.profile;
007
008import dev.metaschema.cli.processor.command.AbstractParentCommand;
009
010/**
011 * A parent command implementation that organizes commands related to an OSCAL
012 * profile.
013 */
014public class ProfileCommand
015    extends AbstractParentCommand {
016  private static final String COMMAND = "profile";
017
018  /**
019   * Construct a new parent command.
020   */
021  public ProfileCommand() {
022    addCommandHandler(new ValidateSubcommand());
023    // addCommandHandler(new RenderSubcommand());
024    addCommandHandler(new ConvertSubcommand());
025    addCommandHandler(new ResolveSubcommand());
026  }
027
028  @Override
029  public String getName() {
030    return COMMAND;
031  }
032
033  @Override
034  public String getDescription() {
035    return "Perform an operation on an OSCAL Profile";
036  }
037}