diff --git a/src/main/java/gov/nist/secauto/oscal/tools/cli/core/commands/AbstractResolveCommand.java b/src/main/java/gov/nist/secauto/oscal/tools/cli/core/commands/AbstractResolveCommand.java index dec26097..5c01c5c2 100644 --- a/src/main/java/gov/nist/secauto/oscal/tools/cli/core/commands/AbstractResolveCommand.java +++ b/src/main/java/gov/nist/secauto/oscal/tools/cli/core/commands/AbstractResolveCommand.java @@ -27,6 +27,7 @@ import gov.nist.secauto.oscal.lib.model.Profile; import gov.nist.secauto.oscal.lib.profile.resolver.ProfileResolutionException; import gov.nist.secauto.oscal.lib.profile.resolver.ProfileResolver; +import gov.nist.secauto.oscal.tools.cli.core.utils.PrettyPrinter; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.Option; @@ -55,6 +56,10 @@ public abstract class AbstractResolveCommand .desc("Generate URI references relative to this resource") .hasArg() .build(); + private static final Option PRETTY_PRINT_OPTION = Option.builder() + .longOpt("pretty-print") + .desc("Enable pretty-printing of the output for better readability") + .build(); @NonNull private static final List