mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
1a5a192f71
Removes the repetitive and gigantic case statement, and adds a register_command function. This function generates a regex for matching that command and a handler function to call. The entry point into the script now matches the user input against a regex and calls the handler function. |
||
---|---|---|
.. | ||
msm |