From ff9cdd651c5b9353349f8278b95186994bda726d Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 2 Apr 2018 12:57:41 +0100 Subject: add sample code --- LICENSE | 21 +++++++++++++++++++++ LICENSE.md | 22 ---------------------- README.md | 3 ++- index.js | 29 +++++++++++++++++++++++++++++ 4 files changed, 52 insertions(+), 23 deletions(-) create mode 100644 LICENSE delete mode 100644 LICENSE.md create mode 100644 index.js diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d2299af --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index e1c3eab..0000000 --- a/LICENSE.md +++ /dev/null @@ -1,22 +0,0 @@ - -The MIT License (MIT) - -Copyright (c) 2018 - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README.md b/README.md index 2c68735..09691dd 100644 --- a/README.md +++ b/README.md @@ -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 +} -- cgit v1.2.3