Sun, 28 Apr 2019 23:42:27 +0200 Streamline %cmd_map
Davor Ocelic <docelic@crystallabs.io> [Sun, 28 Apr 2019 23:42:27 +0200] rev 104
Streamline %cmd_map %cmd_map was previously a hash containing: { real_function => alias_function, ... } Now the structure of the hash is: { alias_or_real_func => [ real_func/if_any, autocompleter_func ], ... } This allows for a more streamlined definition of commands and aliases, and makes it possible to keep all data in %cmd_map instead of having additional special cases.
Sun, 28 Apr 2019 22:38:38 +0200 Improve 'help' command
Davor Ocelic <docelic@crystallabs.io> [Sun, 28 Apr 2019 22:38:38 +0200] rev 103
Improve 'help' command POD documentation has been modified to list available shell commands using =head2 instead of =item. This, combined with run_help() modified to accept arguments, allows one to use 'help <command name>' to get help for a specific command, similar/equal to getting help for shell builtins in regular shells. E.g.: help cat help list
(0) -100 -30 -10 -2 +2 +10 tip