Lemonld...ger::Cli(3)
π Lemonld...ger::Cli(3) π
okay so this is the Lemonld...ger::Cli(3) page, straight out of the User Contributed Perl Documentation π pull up a chair bestie, we're reading a whole manpage together and it's gonna slay.
β¨ NAME β¨
Lemonldap::NG::Manager::Cli β a command line manager for the Lemonldap::NG web SSO system. π
π¦ SYNOPSIS π¦
you can literally just do this in Perl:
#!/usr/bin/env perl
use warnings;
use strict;
use Lemonldap::NG::Manager::Cli;
# Optional: you can specify here some parameters
my $cli = Lemonldap::NG::Manager::Cli->new(iniFile=>'t/lemonldap-ng.ini');
$cli->run(@ARGV);
or, and this is the move honestly, use llng-manager-cli which ships with this package π
llng-manager-cli <options> <command> <keys>
πΈ DESCRIPTION πΈ
Lemonldap::NG::Manager gives you a whole web interface to manage the Lemonldap::NG Web-SSO system. cute, right?
Lemonldap::NG Manager::Cli is the command line client version, so you can read or modify configuration without leaving your terminal. no cap. π₯
π METHODS π
π ACCESSORS π
okay so the way this works: all accessors can be set using the command line β you just slap a - before their names. that's it. that's the whole trick. example:
llng-manager-cli -sep ',' get macros,_whatToTrace
iniFile()β thelemonldap-ng.inifile to use, when the one you want isn't the default value. ποΈsep()β the key separator, and it defaults to/. so like, if you wanted to read the value of macro_whatToTraceusing,as your separator, you'd go:
llng-manager-cli -sep ',' get macros,_whatToTrace
cfgNum()β the configuration number. if you don't set it, it will use the latest configuration. (main character default behaviour fr fr β¨)yes()β set it to1and no confirmation is asked to save new values:
llng-manager -yes 1 set portal http://somewhere/
force()β set it to1to save a configuration earlier than latest. πͺformat()β the confirmation array line format. defaults to"%-25s | %-25s | %-25s"πlog()β a string to insert in the configuration log field (cfgLog).
π run() π
the main method, bestie: it reads option, command and launches the corresponding subroutine. that's the whole job.
π Commands
get β using get, you can read several keys. example:
llng-manager-cli get portal cookieName domain
purge β use purge to delete configurations π§ΉποΈ
- the
purge --keep-last <N>command keeps only the Nth latest configurations. - the
purge --keep-recent <N>command keeps only the configurations that have been created less than N seconds ago.
π SEE ALSO π
for other features of llng-cli, see Lemonldap::NG::Common::Cli
other links: Lemonldap::NG::Manager, <http://lemonldap-ng.org/> π
π AUTHORS π
original idea from David Delassus in 2012 π LemonLDAP::NG team <http://lemonldap-ng.org/team>
π BUG REPORT π
use the OW2 system to report a bug or ask for features, bestie: <https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues>
(we love a structured bug report, it's giving organised π )
π₯ DOWNLOAD π₯
Lemonldap::NG is available at <https://lemonldap-ng.org/download> π¦
βοΈ COPYRIGHT AND LICENSE βοΈ
see the COPYING file for details.
this library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
this program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. see the GNU General Public License for more details. π (yes this part is serious, don't skip it)
you should have received a copy of the GNU General Public License along with this program. if not, see <http://www.gnu.org/licenses/>.
sign-off moment π this whole thing was brought to you by perl v5.42.3, dated 2026-09-24, and it lives at Lemonld...ger::Cli(3). go forth and manage your config, bestie, you're gonna ate. π«Άβ¨
π¦ where this page comes from
- fedora 43: lemonldap-ng-manager 2.23.4-1.fc43 Β· GPL-2.0-or-later AND MIT AND GPL-3.0-or-later AND OFL-1.1-RFN
- fedora 44: lemonldap-ng-manager 2.23.4-1.fc44 Β· GPL-2.0-or-later AND MIT AND GPL-3.0-or-later AND OFL-1.1-RFN
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms