Skip to content

Commit

Permalink
Hide fod, sc-dast, sc-sast and tool commands for now
Browse files Browse the repository at this point in the history
  • Loading branch information
rsenden committed Sep 30, 2022
1 parent af60b1c commit ec94632
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
@Command(
name = "fod",
resourceBundle = "com.fortify.cli.fod.i18n.FoDMessages",
hidden = true,
subcommands = {
FoDApplicationCommands.class,
FoDApplicationReleaseCommands.class,
Expand All @@ -20,9 +21,4 @@

}
)
public class FoDCommands {
public FoDCommands(){
System.setProperty("productName", "FoD");
System.setProperty("productLongName", "Fortify on Demand");
}
}
public class FoDCommands {}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
@Command(
name = "sc-dast",
resourceBundle = "com.fortify.cli.sc_dast.i18n.SCDastMessages",
hidden = true,
subcommands = {
SCDastScanCommands.class,
SCDastScanOutputCommands.class,
Expand All @@ -19,8 +20,4 @@
SSCSessionCommands.class
}
)
public class SCDastCommands {
public SCDastCommands(){
System.setProperty("productName", "ScanCentral DAST");
}
}
public class SCDastCommands {}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
@Command(
name = "sc-sast",
resourceBundle = "com.fortify.cli.sc_sast.i18n.SCSastMessages",
hidden = true,
subcommands = {
SCSastSessionCommands.class,
SCSastPingCommand.class,
Expand All @@ -21,8 +22,4 @@
SCSastSensorCommands.class
}
)
public class SCSastCommands {
public SCSastCommands(){
System.setProperty("productName", "ScanCentral SAST");
}
}
public class SCSastCommands {}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
name="tool",
description = "Commands for managing other useful tools and utilities.",
resourceBundle = "com.fortify.cli.tool.i18n.ToolMessages",
hidden = true,
subcommands = {
EightballCommands.class,
ScanCentralClientCommands.class,
Expand Down

0 comments on commit ec94632

Please sign in to comment.