commit 9a285640fc8a53d757480b4ce152d8bd7aa9050c parent bae9b9bb963b1709a861ef743a7600d53b71e379 Author: phoebos <ben@bvnf.space> Date: Thu, 15 Jun 2023 19:23:14 +0100 main: comments Diffstat:
M | main.lua | | | 15 | +++++++++------ |
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/main.lua b/main.lua @@ -7,16 +7,16 @@ end local function usage() bliss.log("bliss [a|b|c|d|i|l|r|s|u|U|v] [pkg]...") - bliss.log("alternatives List and swap alternatives") - bliss.log("build Build packages") + --bliss.log("alternatives List and swap alternatives") + --bliss.log("build Build packages") bliss.log("checksum Generate checksums") bliss.log("download Download sources") - bliss.log("install Install packages") + --bliss.log("install Install packages") bliss.log("list List installed packages") - bliss.log("remove Remove packages") + --bliss.log("remove Remove packages") bliss.log("search Search for packages") - bliss.log("update Update the repositories") - bliss.log("upgrade Update the system") + --bliss.log("update Update the repositories") + --bliss.log("upgrade Update the system") bliss.log("version Package manager version") os.exit(true) @@ -46,6 +46,9 @@ local function args(arg) -- shift table.remove(arg, 1) + -- TODO: pkg_order + -- TODO: prepend PWD to PATH if no args and action ~= list + local f = args_map[char] if f then f(env, arg)