From 97acb74c25f8dca37b715423db7aabaaca3e4428 Mon Sep 17 00:00:00 2001 From: dvs1 Date: Sun, 27 Oct 2024 11:34:46 +1000 Subject: TODO+=2.5 --- PolygLua.lua | 5 ++++- aataaj.lua | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/PolygLua.lua b/PolygLua.lua index c2ebb02..003702f 100755 --- a/PolygLua.lua +++ b/PolygLua.lua @@ -6,12 +6,15 @@ TODO - Allow -abc style, expand to -a -b -c. TODO - Make the parsing recursive. So the command "--fancy" could have it's own options table. --fancy option0 opt1=foo 'Random string!' --somethingElse - When to stop and hand back? + When to stop and hand back? First time we see a ' -bar' or ' --foo'? TODO - Add some sort of alias mechanism for the #! thing. _.bash'echo "This is bash."':Do() The user can define their own aliases in a table, with defaults for bash, sh, luajit, and maybe some others. Then extend it to changing language on the fly _.bash'echo "This is bash."':luajit("print('This is Lua.')"):Do() +TODO - APT also has +/- for adding and removing option values into an options entry. + Not sure if that is being used. + ]] -- Most of this _ stuff was copied from apt-panopticon. diff --git a/aataaj.lua b/aataaj.lua index 5f6cee5..88eb346 100755 --- a/aataaj.lua +++ b/aataaj.lua @@ -16,7 +16,9 @@ local _ = require 'PolygLua' - +--[[ TODO - replace this with code to search for and print the README.md file. + Since we got the path to the script in arg[0], we can split that up and follow symlinks until we find where the files are. Maybe we can find README.md there. +]] Help = [[ This is part of the AllAudioToALSAandJACK project, aataaj for short, pronounced like "attach". -- cgit v1.1