Commit graph

22 commits

Author SHA1 Message Date
Benjamin Renard
a7d202e5ff LScli: add --trace parameter 2020-08-24 18:03:50 +02:00
Benjamin Renard
6eee099bd2 LScli: fix --sub-dn autocompletion even if LDAP server not selected 2020-08-07 11:09:20 +02:00
Benjamin Renard
5bbe076e23 LScli: fix handling LDAP servers with configured subDn
In case of LDAP server with configured subDn, always select a subDn, 
even if user didn't make it with --sub-dn parameter. Futhermore, in BASH 
autocompletion, autocomplete LSobject types with only available ones in 
current subDn.
2020-08-07 10:39:41 +02:00
Benjamin Renard
14f28a1ec0 LScli: add global --sub-dn parameter 2020-08-06 16:43:50 +02:00
Benjamin Renard
1420439403 LScli: fix autocomplete_LSobject_types() in case of configured subDn 2020-08-06 15:11:41 +02:00
Benjamin Renard
a21b40d706 LScli autocompleter: fix handling quoted arguments 2020-07-06 17:53:54 +02:00
daac4db329 Improve LScli :: autocomplete_LSobject_dn() to provide RDN attribute on empty compword 2020-06-23 15:58:37 +02:00
4ba584e8c6 Add autocompleter for CLI command show 2020-06-15 11:26:57 +02:00
559f9d9475 Add autocompleter for CLI command search 2020-06-15 10:40:48 +02:00
a65322335e LScli::bash_autocomplete(): run command autocompleter with command args instead of complete command args 2020-06-15 08:55:00 +02:00
3494cc55c8 LScli: add BASH autocompletion support 2020-06-15 08:22:55 +02:00
Benjamin Renard
8b4b227327 LScli: fix console logging to always log at least errors (excepted in quiet mode) 2020-05-14 10:51:18 +02:00
1de6d1d25e LScli : add confirm helper method 2020-05-08 20:33:42 +02:00
3e0829ba31 LScli : use LSlog_logger 2020-05-08 15:20:29 +02:00
Benjamin Renard
03255e41f4 LScli : add run_external_command() helper method 2020-05-06 19:56:37 +02:00
Benjamin Renard
eb2b939dfe LScli : fix comment on run_command method 2020-05-06 19:48:13 +02:00
Benjamin Renard
4828ac6b30 LScli : fix warnings about run_command CLI 2020-05-06 18:34:27 +02:00
Benjamin Renard
fbba445106 LScli : add possibility to run command without LDAP connection 2020-05-06 18:33:31 +02:00
Benjamin Renard
9028414568 LScli :: handle_args() : check CLI context 2020-05-06 18:01:16 +02:00
Benjamin Renard
4bed3e6c17 LScli ; Move command execution in a dedicated run_command() method 2020-05-06 18:00:47 +02:00
Benjamin Renard
fe4ef419fd LScli :: usage() : only show current executed command message (if already specified) 2020-05-06 17:46:08 +02:00
Benjamin Renard
7098b3ee79 Massive change of files organisation to move all files outside web-root
The web-root directory now contains URL rewrite stuff. All PHP & static files are
in root src directory and are served via LSurl routes.
2020-05-06 12:17:35 +02:00
Renamed from public_html/includes/class/class.LScli.php (Browse further)