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