mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
replace parse_args by yunohost
This commit is contained in:
parent
9c9406e49e
commit
509a3a7f78
4 changed files with 5 additions and 5 deletions
|
@ -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.
|
||||||
|
|
|
@ -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 $@
|
||||||
|
|
Loading…
Reference in a new issue