Davor Ocelic <docelic@crystallabs.io> [Sun, 05 May 2019 10:51:34 +0200] rev 117
Improve accepted command line options
This commit enables getopt case sensitivity and adds all command line
options/abbreviations typically supported by LDAP clients:
-w/-y, -p, -x, -Z/-ZZ, -v
Davor Ocelic <docelic@crystallabs.io> [Sun, 05 May 2019 10:14:18 +0200] rev 116
Support arrays/hashes in 'env' (WIP)
- 'env' now prints 'attributes' array
- 'env' output now supports any data type, not just strings
- option --attributes on command line properly overrides config values
The remaining thing to do is to support 'setenv' to work with non-strings too.
Davor Ocelic <docelic@crystallabs.io> [Sun, 05 May 2019 09:54:28 +0200] rev 115
Add alias, unalias, configfile
- Add commands 'alias' and 'unalias'.
Behavior is almost identical to shell.
Aliases currently cannot override commands.
- Add command 'configfile'.
Allows loading / saving config files from command line.
Davor Ocelic <docelic@crystallabs.io> [Sat, 04 May 2019 22:38:33 +0200] rev 114
With ls -l, print file type ('-' or 'd') as first field of output
This change brings output of 'ls -l' closer to the actual shell command.
Davor Ocelic <docelic@crystallabs.io> [Fri, 03 May 2019 19:23:54 +0200] rev 113
Improve save_config()
Davor Ocelic <docelic@crystallabs.io> [Tue, 30 Apr 2019 12:07:28 +0200] rev 112
Add missing block to Term::Shell fix
(This corresponds to Term::Shell PR posted at
https://github.com/shlomif/Term-Shell/pull/3)
Davor Ocelic <docelic@crystallabs.io> [Tue, 30 Apr 2019 01:10:00 +0200] rev 111
Make aliases be auto-detected and inserted into help texts.
Davor Ocelic <docelic@crystallabs.io> [Tue, 30 Apr 2019 01:01:19 +0200] rev 110
Fix autocompleter for all commands.
Davor Ocelic <docelic@crystallabs.io> [Tue, 30 Apr 2019 00:43:52 +0200] rev 109
Multiple help-related changes
- Make every command's POD doc have a single-line introductory description.
This help is then used as a one-liner summary in Term::Shell.
- Tie %cmd_map to IxHash to preserve hash elements' order.
- Fix bug in Term::Shell's code related to command aliases.
(Also emailed Term::Shell author to include the fix in next release.)
- Remove run_() which already exists in Term::Shell.
- Use Term::Shell's help facilities instead of manually redefining
run_help() and other related commands. The complete POD documentation is
still available for viewing if user invokes ./shelldap --help.
- Completer functions are disabled right now (fix coming in the next
commit)
Davor Ocelic <docelic@crystallabs.io> [Mon, 29 Apr 2019 21:57:57 +0200] rev 108
Properly handle Ctrl+C; add '?' and 'man' aliases; don't import symbols
Make Ctrl+C behave like in the shell (abort current line, redisplay)
Add '?' and 'man' as aliases for help
Add qw// on module 'use's to not import any symbols
Davor Ocelic <docelic@crystallabs.io> [Mon, 29 Apr 2019 00:16:14 +0200] rev 107
Do not sort flaglist twice
With this change, 'inspect'ing an element prints its attributes
in a defined order: (requiredness, multivaluedness)
Previously, the order was alphabetical and varying.
Davor Ocelic <docelic@crystallabs.io> [Mon, 29 Apr 2019 00:10:31 +0200] rev 106
Make 'cat' default to '.' (cwd) instead of requiring argument