diff options
author | Steve Bennett <steveb@workware.net.au> | 2023-07-01 12:45:36 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2025-07-16 09:34:08 +1000 |
commit | 5669e84aad22d7f82417af60c3c1c384fe9a4b66 (patch) | |
tree | 8f6b6592d9f6314dff3c9f4317993cf4b3b382ab /examples/redis-async.tcl | |
parent | 3786590cd13b33e84ba585bf8b1802c68f7d1176 (diff) | |
download | jimtcl-5669e84aad22d7f82417af60c3c1c384fe9a4b66.zip jimtcl-5669e84aad22d7f82417af60c3c1c384fe9a4b66.tar.gz jimtcl-5669e84aad22d7f82417af60c3c1c384fe9a4b66.tar.bz2 |
core: Add Jim_RegisterCommand()
and wrappers Jim_RegisterCmd, Jim_RegisterSimpleCmd and Jim_RegisterSubCmd
Allows usage, help and flags when registering commands.
Allows for JIM_CMD_ISPROC, JIM_CMD_ISALIAS, JIM_CMD_ISCHANNEL
'info usage' and (later) 'info help'
Now every command doesn't need to check min/max and print usage.
This also adds support for 'info aliases', 'info channels' and 'exists -channel'.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'examples/redis-async.tcl')
0 files changed, 0 insertions, 0 deletions