An open API service indexing awesome lists of open source software.

https://github.com/linkdd/lemonldap-cli

Command Line tool to configure LemonLDAP::NG (depecrated: now maintained by the LemonLDAP::NG team)
https://github.com/linkdd/lemonldap-cli

Last synced: 7 months ago
JSON representation

Command Line tool to configure LemonLDAP::NG (depecrated: now maintained by the LemonLDAP::NG team)

Awesome Lists containing this project

README

          

# What is it ?

This project was started by [**9h37 SAS**](http://9h37.fr)

*lemonldap-ng-cli* is a command line tool to configure **LemonLDAP::NG** from the
command line. Make you able to deploy your web application faster and easier.

*NB: This project is now maintained by the LemonLDAP::NG team and so, this repository is depecrated. You can find the script, after installation of LemonLDAP::NG, at :*

/usr/share/lemonldap-ng/bin/lemonldap-ng-cli

# Installation

***To be written***

# How to use

Set/get variables in the configuration:

```
lemonldap-ng-cli set
lemonldap-ng-cli unset
lemonldap-ng-cli get
```

Define macros:

```
lemonldap-ng-cli set-macro
lemonldap-ng-cli unset-macro
lemonldap-ng-cli get-macro
```

Modify application list:

```
lemonldap-ng-cli apps-set-cat
lemonldap-ng-cli apps-get-cat

lemonldap-ng-cli apps-add
lemonldap-ng-cli apps-set-uri
lemonldap-ng-cli apps-set-name
lemonldap-ng-cli apps-set-desc
lemonldap-ng-cli apps-set-logo
lemonldap-ng-cli apps-set-display

lemonldap-ng-cli apps-get
lemonldap-ng-cli apps-rm
```

Manage rules:

```
lemonldap-ng-cli rules-set
lemonldap-ng-cli rules-unset
lemonldap-ng-cli rules-get
```

Manage exported variables:

```
lemonldap-ng-cli export-var
lemonldap-ng-cli unexport-var
lemonldap-ng-cli get-exported-vars
```

Manage exported headers:

```
lemonldap-ng-cli export-header
lemonldap-ng-cli unexport-header
lemonldap-ng-cli get-exported-headers
```

Manage virtual hosts:

```
lemonldap-ng-cli vhost-add
lemonldap-ng-cli vhost-del
lemonldap-ng-cli vhost-set-port
lemonldap-ng-cli vhost-set-https
lemonldap-ng-cli vhost-set-maintenance
lemonldap-ng-cli vhost-list
```

Global Storage:

```
lemonldap-ng-cli global-storage
lemonldap-ng-cli global-storage-set-dir
lemonldap-ng-cli global-storage-set-lockdir
```

Reload URLs:

```
lemonldap-ng-cli reload-urls
lemonldap-ng-cli reload-url-add
lemonldap-ng-cli reload-url-del
```