From 4970787dd68517de02f5d0184e32387c3befb13c Mon Sep 17 00:00:00 2001 From: Xavier Date: Thu, 30 May 2019 09:48:43 +0200 Subject: [PATCH] update doc --- lemonldap-ng-common/scripts/lemonldap-ng-cli | 37 +++++++++++++++++--- 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/lemonldap-ng-common/scripts/lemonldap-ng-cli b/lemonldap-ng-common/scripts/lemonldap-ng-cli index a36050070..a085eb64b 100755 --- a/lemonldap-ng-common/scripts/lemonldap-ng-cli +++ b/lemonldap-ng-common/scripts/lemonldap-ng-cli @@ -61,18 +61,25 @@ lemonldap-ng-cli - Command-line manager for Lemonldap::NG web-SSO system. =head1 SYNOPSIS - # Get information about current configuration +Get information about current configuration + $ lemonldap-ng-cli info - # Update local configuration cache +Update local configuration cache + $ lemonldap-ng-cli update-cache - # Get some configuration parameter values +Save configuration + + $ lemonldap-ng-cli save >conf.json + +Get a configuration parameter value + $ lemonldap-ng-cli get portal domain cookieName - # Set some values - $ lemonldap-ng-cli set portal http://auth.e.com/ domain e.com +Set some values + $ lemonldap-ng-cli set portal http://auth.e.com/ domain e.com # add or set a key $ lemonldap-ng-cli addKey macro fullname '$givenName." ".$lastName' @@ -82,6 +89,26 @@ lemonldap-ng-cli is a command line interface to interact with Lemonldap::NG configuration. Commands are described in L and L +=head2 Available commands + +=over + +=item info + +=item update-cache + +=item save + +=item get + +=item set + +=item addKey + +=item delKey + +=back + =head1 SEE ALSO L, L