logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Authors

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

Bug Report

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

Description

       Lemonldap::NG::Manager provides a web interface to manage Lemonldap::NG Web-SSO system.

       Lemonldap::NG Manager::Cli provides a command line client to read or modify configuration.

Download

       Lemonldap::NG is available at <https://lemonldap-ng.org/download>

Methods

ACCESSORS
       All accessors can be set using the command line: just set a '-' before their names. Example

         llng-manager-cli -sep ',' get macros,_whatToTrace

       iniFile()

       The lemonldap-ng.ini file to use is not default value.

       sep()

       The key separator, default to '/'. For example to read the value of macro _whatToTrace using ',', use:

         llng-manager-cli -sep ',' get macros,_whatToTrace

       cfgNum()

       The configuration number. If not set, it will use the latest configuration.

       yes()

       If set to 1, no confirmation is asked to save new values:

         llng-manager -yes 1 set portal http://somewhere/force()

       Set it to 1 to save a configuration earlier than latest

       format()

       Confirmation array line format. Default to "%-25s | %-25s | %-25s"

       log()

       String to insert in configuration log field (cfgLog)

   run()
       The main method: it reads option, command and launch the corresponding subroutine.

       Commands

       get

       Using get, you can read several keys. Example:

         llng-manager-cli get portal cookieName domain

Name

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

See Also

       For other features of llng-cli, see Lemonldap::NG::Common::Cli

       Other links: Lemonldap::NG::Manager, <http://lemonldap-ng.org/>

Synopsis

         #!/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 use llng-manager-cli provides with this package.

         llng-manager-cli <options> <command> <keys>

See Also