Global commands (Linux™ and macOS)
Use global commands to display CLI help and Static Analyzer Command Line Utility version information.
appscan.sh help
Syntax:
appscan.sh help <command>Description:
Display help for all commands or an individual command.
Optional flags/settings:
<command>: To display the help for an individual command, specify it here.
Examples:
To see the
help for the prepare command, specify this:
appscan.sh help prepareappscan.sh version
Syntax:
appscan.sh versionDescription:
Display the Static Analyzer Command Line Utility version.
appscan.sh update
Syntax:
appscan.sh update
appscan.sh checkUpdateDescription:
Checks if there is a new update is available on the HCL AppScan 360° server. If a new version is available this command downloads and installs it into the same location as the current version.
If the default package name is used for the current SAClientUtil installation
(for example, ./SAClientUtil.8.0.nnnn), after update is completed, the
version string is removed from the directory name (for example,
./SAClientUtil). If a custom name is used for
SAClientUtil directory, that name is retained after update. (for example,
./MySAClient).
If there is no new update available from the server, the user is notified.
Examples:
appscan.sh checkUpdate
appscan.sh updateChecks if there is an update available on the server, then it downloads and installs it, notifying the user as follows:
source ./appscan.sh update
An update is available. Version: 8.0.1401
Downloading the update...
Extracting the update...
Update complete.
New version is located at: <SAClientUtil>/binupdate command on Linux systems:- Change directory to <SAClientUtil>/bin directory, where
<SAClientUtil> is a new download of the utility that supports the
updatecommand. - Run:
source ./appscan.sh update, or. ./appscan.sh update