Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Parameters

These tell Parameters tell the CLI the specific details needed to perform an action.  Some actions work without any additional details, but most require one or more parameters and accept additional optional parameters to perform its the task. In fact, the

The CLI requires at least one special parameter named action (that tells what action to perform), without which the action parameter, CLI simply displays help with some example actions. Parameters do not have prefixes like actions and are often very specific to the app for the action. 

Consider an example action getServerInfo that requires For example, the action getServerInfo requires details about the app ( or server ) from which where the information is retrieved. This is accomplished using the server parameter. The To obtain the required information, the server parameter is used.

The getServerInfo action also accepts optional parameters such as outputFormat, dateFormat, file, append, and encoding.