aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
blob: fb357e85abc3f671e6af599deb7a4e44cd058f20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
le._apps.pkg93 = {
  exec: function() {
    // if ur reading this can u don't hack into my pc
    // kthx
    const args = this.arg.arguments;
    const version = "le private beta";
    if (args.length == 0) {
      $log.info(`pkg93 ${version} help`);
      $log(`Usage: pkg93 [command]
Command can be one of the below:
update                    Updates package listing
get [package]             Installs a package
rm [package]              Uninstalls a package
add-repo [url]            Adds a repository
rm-repo [id]              Removes a repository
ls [pkgs|installed|repos] Lists all packages, installed
                          packages or repositories.
help                      Gets help for a command

Examples:
pkg93 get gud
pkg93 rm kebab
pkg93 help ivefallenandicantgetup
`);
    }
  },
  icon: "/c/",
  terminal: true
}