A small Python framework meant to easily create programs with unified CLI and API.
Find a file
2012-10-24 18:36:23 +02:00
bash add yunohost-cli bin 2012-10-23 18:38:07 +02:00
.gitignore Exception handling 2012-10-08 18:24:40 +02:00
action_map.yml Init function init :p 2012-10-23 17:28:35 +02:00
CONTRIBUTE.md Update CONTRIBUTE.md 2012-10-22 22:16:38 +03:00
ldap_scheme.yml Init function without admin mod 2012-10-23 18:10:39 +02:00
LICENSE Init 2012-10-06 16:22:15 +02:00
parse_args Move action_map to a YAML file :) 2012-10-22 20:52:15 +02:00
README.md Update README.md 2012-10-22 22:25:55 +03:00
yunohost.py Update yunohost.py 2012-10-23 23:21:18 +03:00
yunohost_monitor.py add process count 2012-10-16 17:52:39 +02:00
yunohost_tools.py Init function complete 2012-10-23 19:55:40 +02:00
yunohost_user.py Correct user function (still broken) 2012-10-24 18:36:23 +02:00

YunoHost CLI

Specifications

User

yunohost user list [-h] [--fields FIELDS [FIELDS ...]] [-o OFFSET]
                        [-f FILTER] [-l LIMIT]
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]

Domain

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

App

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 ...]

Repo

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]

Firewall

yunohost firewall list [-h]
yunohost firewall allow [-h] {UDP,TCP,Both} port name
yunohost firewall disallow [-h] name

Monitoring

yunohost monitor info #FIX

Tools

yunohost tools support #FIX

How to use "as is" ?

The executable file is parse_args, for example:

./parse_args user create

Contribute

See CONTRIBUTE.md file