Versions Compared

Key

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

Parameters

Parameters These 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 in order to perform its task.   In fact, the CLI itself requires at least one special parameter named action action (that tells it what action to perform.  Without that special parameter it will simply display help which includes ), without which CLI simply displays help with some example actions.   Parameters don't do not have prefixes like actions do and they are often very specific to the app for the action. 

An Consider an example of an action and it's parameters is getServerInfo.  That action requires information about which action getServerInfo that requires details about the app (or server) from which to retrieve the information . That is the is retrieved. This is accomplished using the server parameter.  The  The getServerInfo action also accepts optional parameters such as outputFormat, dateFormat, file, append, and encoding.