moulinette/README.md

79 lines
2.5 KiB
Markdown
Raw Normal View History

2012-10-14 21:38:36 +02:00
YunoHost CLI
============
2012-10-06 16:22:15 +02:00
2012-10-14 21:38:36 +02:00
Specifications
--------------
2012-10-06 16:22:15 +02:00
### User
2012-10-14 21:14:36 +02:00
yunohost user list [-h] [--fields FIELDS [FIELDS ...]] [-o OFFSET]
[-f FILTER] [-l LIMIT]
2012-10-14 21:38:36 +02:00
yunohost user create [-h] [-u USERNAME] [-l LASTNAME] [-f FIRSTNAME]
[-p PASSWORD] [-m MAIL]
yunohost user delete [-h] users [users ...]
yunohost user update [-h] [-remove-mailalias MAIL [MAIL ...]]
[-add-mailalias MAIL [MAIL ...]] [-f FIRSTNAME]
[-m MAIL] [-l LASTNAME]
[--remove-mailforward MAIL [MAIL ...]]
[--add-mailforward MAIL [MAIL ...]]
[-cp PASSWORD]
user
yunohost user info [-h] [-m MAIL] [-cn FULLNAME] [user]
2012-10-06 16:22:15 +02:00
### Domain
2012-10-14 21:38:36 +02:00
yunohost domain list [-h] [-l LIMIT] [-o OFFSET] [-f FILTER]
yunohost domain add [-h] domain
yunohost domain remove [-h] domain [domain ...]
yunohost domain info [-h] domain
yunohost domain renewcert [-h] domain
2012-10-06 16:22:15 +02:00
### App
2012-10-14 21:38:36 +02:00
yunohost app list [-h] [--fields FIELDS [FIELDS ...]] [-o OFFSET]
[-f FILTER] [-l LIMIT]
yunohost app install [-h] [-d DOMAIN] [--public] [-l LABEL] [-p PATH]
[--protected]
app [app ...]
yunohost app remove [-h] app [app ...]
yunohost app upgrade [-h] [app [app ...]]
yunohost app info [-h] app
yunohost app addaccess [-h] [-u USER [USER ...]] app [app ...]
yunohost app removeaccess [-h] [-u USER [USER ...]] app [app ...]
2012-10-06 16:22:15 +02:00
### Repo
2012-10-14 21:38:36 +02:00
yunohost repo list [-h] [-l LIMIT] [-o OFFSET] [-f FILTER]
yunohost repo add [-h] [-n NAME] url
yunohost repo remove [-h] repo
yunohost repo update [-h]
2012-10-06 16:22:15 +02:00
### Firewall
2012-10-14 21:38:36 +02:00
yunohost firewall list [-h]
yunohost firewall allow [-h] {UDP,TCP,Both} port name
yunohost firewall disallow [-h] name
2012-10-06 16:22:15 +02:00
### Monitoring
2012-10-14 21:38:36 +02:00
yunohost monitor info #FIX
2012-10-06 16:22:15 +02:00
2012-10-14 21:38:36 +02:00
### Tools
2012-10-06 16:22:15 +02:00
2012-10-14 21:38:36 +02:00
yunohost tools support #FIX
2012-10-06 16:22:15 +02:00
2012-10-14 21:38:36 +02:00
Contribute
----------
2012-10-06 16:22:15 +02:00
2012-10-14 21:38:36 +02:00
Only few functions are implemented yet. If you want to contribute, just pick one action above (i.e. 'yunohost app addaccess') and make the function (here 'app_addaccess()') into the right file (here 'yunohost_app.py').
2012-10-06 16:22:15 +02:00
2012-10-14 21:38:36 +02:00
If you need LDAP connections or openned configuration files, take a look at the connection documentation in the 'parse_args' file.