Along with the automatic selection of the default configuration file that is based on the script name, the default command configuration is an effective mechanism for creating convenient TLP shell commands. You can preselect a default command within the configuration file, along with options and arguments. These default parameters are embedded within a command block, as shown in the following example:
<Command> # The module to use by default. Can be overriden by the command # line Module main # Option to be set. They should be provided in the form # "option value" as one would give it on the command line # without the '--' prefix. # Relative pathes are relative to the current working directory. <Options> snapshot LATEST explorer . target $TargetDirectory/Server/%n </Options> </Command>
The following configuration variables are used within this block:
Specifies the default module, or command, to use when no command is given from the command line.
Specifies the block that contains default module options for the default command. These options are only used when the default module is also used. Each option is placed on an extra line, with or without arguments.