1Lemonldap::NG::Manager:U:sCelri(C3o)ntributed Perl DocumLeenmtoantlidoanp::NG::Manager::Cli(3)
2
3
4

NAME

6       Lemonldap::NG::Manager::Cli - Command line manager for Lemonldap::NG
7       web SSO system.
8

SYNOPSIS

10         #!/usr/bin/env perl
11
12         use warnings;
13         use strict;
14         use Lemonldap::NG::Manager::Cli;
15
16         # Optional: you can specify here some parameters
17         my $cli = Lemonldap::NG::Manager::Cli->new(iniFile=>'t/lemonldap-ng.ini');
18
19         $cli->run(@ARGV);
20
21       or use llng-manager-cli provides with this package.
22
23         llng-manager-cli <options> <command> <keys>
24

DESCRIPTION

26       Lemonldap::NG::Manager provides a web interface to manage Lemonldap::NG
27       Web-SSO system.
28
29       Lemonldap::NG Manager::Cli provides a command line client to read or
30       modify configuration.
31

METHODS

33   ACCESSORS
34       All accessors can be set using the command line: just set a '-' before
35       their names. Example
36
37         llng-manager-cli -sep ',' get macros,_whatToTrace
38
39       iniFile()
40
41       The lemonldap-ng.ini file to use is not default value.
42
43       sep()
44
45       The key separator, default to '/'. For example to read the value of
46       macro _whatToTrace using ',', use:
47
48         llng-manager-cli -sep ',' get macros,_whatToTrace
49
50       cfgNum()
51
52       The configuration number. If not set, it will use the latest
53       configuration.
54
55       yes()
56
57       If set to 1, no confirmation is asked to save new values:
58
59         llng-manager -yes 1 set portal http://somewhere/
60
61       force()
62
63       Set it to 1 to save a configuration earlier than latest
64
65       format()
66
67       Confirmation array line format. Default to "%-25s | %-25s | %-25s"
68
69       log()
70
71       String to insert in configuration log field (cfgLog)
72
73   run()
74       The main method: it reads option, command and launch the corresponding
75       subroutine.
76
77       Commands
78
79       get
80
81       Using get, you can read several keys. Example:
82
83         llng-manager-cli get portal cookieName domain
84

SEE ALSO

86       For other features of llng-cli, see Lemonldap::NG::Common::Cli
87
88       Other links: Lemonldap::NG::Manager, <http://lemonldap-ng.org/>
89

AUTHORS

91       Original idea from David Delassus in 2012
92       LemonLDAP::NG team <http://lemonldap-ng.org/team>
93

BUG REPORT

95       Use OW2 system to report bug or ask for features:
96       <https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues>
97

DOWNLOAD

99       Lemonldap::NG is available at <https://lemonldap-ng.org/download>
100
102       See COPYING file for details.
103
104       This library is free software; you can redistribute it and/or modify it
105       under the terms of the GNU General Public License as published by the
106       Free Software Foundation; either version 2, or (at your option) any
107       later version.
108
109       This program is distributed in the hope that it will be useful, but
110       WITHOUT ANY WARRANTY; without even the implied warranty of
111       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
112       General Public License for more details.
113
114       You should have received a copy of the GNU General Public License along
115       with this program.  If not, see <http://www.gnu.org/licenses/>.
116
117
118
119perl v5.36.1                      2023-11-14    Lemonldap::NG::Manager::Cli(3)
Impressum