diff options
author | Unknown | 2018-04-02 12:57:41 +0100 |
---|---|---|
committer | Unknown | 2018-04-02 12:57:41 +0100 |
commit | ff9cdd651c5b9353349f8278b95186994bda726d (patch) | |
tree | d9c037a302c276e1c7ea26d83257e5bcada66062 | |
parent | 4ce7e36e197980d2bb01d9fd687a095ca9fd443c (diff) |
add sample code
-rw-r--r-- | LICENSE (renamed from LICENSE.md) | 5 | ||||
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | index.js | 29 |
3 files changed, 33 insertions, 4 deletions
@@ -1,7 +1,6 @@ +MIT License -The MIT License (MIT) - -Copyright (c) 2018 +Copyright (c) 2017-2018 1024x2 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -1 +1,2 @@ -pkg93 +# pkg93 +soon diff --git a/index.js b/index.js new file mode 100644 index 0000000..fb357e8 --- /dev/null +++ b/index.js @@ -0,0 +1,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 +} |