Skip to content

Power Collector(poco)是一个结构简单,易操作的类包管理器

Notifications You must be signed in to change notification settings

Powerlean/Power-Collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 

Repository files navigation

中文用户请单击此处

Power Collector is a simple packages manager

🏁Setup

curl -s www.powerlean.top/blob/poco.setup | bash

📋Usage:poco [command] [argument] [suffix]

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

Structure

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 your programs library

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.

File's format under the tree/

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.

The end.

About

Power Collector(poco)是一个结构简单,易操作的类包管理器

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages