replace parse_args by yunohost

This commit is contained in:
Kload 2013-06-15 14:37:27 +02:00
parent 9c9406e49e
commit 509a3a7f78
4 changed files with 5 additions and 5 deletions

View file

@ -74,9 +74,9 @@ Specifications
How to use "as is" ? How to use "as is" ?
-------------------- --------------------
The executable file is parse_args, for example: The executable file is yunohost, for example:
./parse_args user create ./yunohost user create
Contribute / FAQ Contribute / FAQ
@ -88,7 +88,7 @@ Contribute / FAQ
We decided to regroup all YunoHost related operations into a single program called "moulinette". This will allow us to entirely manipulate our YunoHost instances through a wonderful CLI. Additionally the web interface will just have to call the same "moulinette" functions. Magic power inside :p We decided to regroup all YunoHost related operations into a single program called "moulinette". This will allow us to entirely manipulate our YunoHost instances through a wonderful CLI. Additionally the web interface will just have to call the same "moulinette" functions. Magic power inside :p
### Important files ### Important files
* `` parse_args `` File executed on function calling - i.e `` ./parse_args user create ``. Will be renamed `` yunohost `` when packaged. * `` yunohost `` File executed on function calling - i.e `` ./yunohost user create ``.
* `` action_map.yml `` Defines all CLI actions and links arguments. * `` action_map.yml `` Defines all CLI actions and links arguments.
* `` yunohost.py `` Contains all YunoHost functions likely to be shared between moulinette files. Also contains service connections classes (erk). * `` yunohost.py `` Contains all YunoHost functions likely to be shared between moulinette files. Also contains service connections classes (erk).
* `` yunohost_*.py `` Files containing action functions. `` * `` is the category: user, domain, firewall, etc. * `` yunohost_*.py `` Files containing action functions. `` * `` is the category: user, domain, firewall, etc.

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
cd /usr/share/pyshared/yunohost-cli/ cd /usr/share/pyshared/yunohost-cli/
python parse_args $@ python yunohost $@