- View demo
- View my blog
- If you want to reference my code,please access my repository
curl -s www.powerlean.top/blob/poco.setup | bash
Command:
- help Get help with poco
- fetch Get a specified file
- list List all files which can be download
- remove Delete a specified file
- search Search the software description
- console Edit config file
- status Show detail info about setting (Chinese)
suffix:
- -y Skip confirmation
- -s Silent mode
| poco's OC | Role |
|---|---|
| poco | Power Collector's subject |
| poco.setup | Setup script |
| poco.update | Update script |
| poco.list | List of packages |
| poco.note | Release note |
| poco-rescue | Fix script |
| poco.conf | Config file |
Deploy a programs library for Power Collector,you just need a website.
Create both directories in the project root directory /
- blob/
- tree/
Also,you can rename these directory.
Please drag all programs into theblob/.
Click here to know about the file's format under thetree/.
Create both files in the blob/
- poco.conf
- poco.list
Please write a executable program to replace the user's poco.conf
Please consult poco.list's format to learn how to write packages list.
You need declare the dependencies for your programs:
If you have a program called XXX,then you must create a file called XXX.tree.
The file have a format,such as:
export depends="XXX XXX XXX"
Examples:
Now I have a program called poco,it relies on poco.conf and poco-rescue,like that,I need create a file called poco.tree,and write the following contents:
export depends="poco.conf poco-rescue"
If the program don't need any dependency,then we need do such this:
export depends=""
You must creates such this file for your all programs.
