acs::cmd_has_subcommand (private)
acs::cmd_has_subcommand cmd subcommand
Defined in packages/acs-tcl/tcl/00-icanuse-procs.tcl
Helper proc abusing error messages to determine, whether as submethod is available, since there is in Tcl no generic way to determine subcommands for a command. Note: Use this with caution, this is NOT GUARANTEED to work with every command, since many commands require e.g. a connection or return different error messages. When using this in more cases, test first! Therefore, this is a PRIVATE function, not intenended for public use.
- Parameters:
- cmd (required)
- subcommand (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- acs__command_has_subcommand