Other TMSH Commands¶
The script namespace defines well-known entry points that are Tcl procedures. The tmsh namespace defines Tcl variables and commands that can be used to access the system configuration, status, and statistics.
- script::init - Called before script::run, script::help and script::tabc.
- script::run - invokes the procedure script::run when you issue the tmsh shell command run cli script “”name””
- tmsh::argc - Contains the number of arguments including the name of the script.
- tmsh::argv - Contains the list of argument values, of which the script name is always the first list item.