Lemonldap::NG::Manager::Cli(3pm)

Lemonldap::NG::Manager::Cli3pm

Command line manager for lemonldap::ng web sso system.

Usage

  #!/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>

Overview

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.

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

Bug report

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

Download

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

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

Authors

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

From liblemonldap-ng-manager-perl 2.21.2+ds-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.