diff options
author | dvs1 | 2024-10-27 11:34:46 +1000 |
---|---|---|
committer | dvs1 | 2024-10-27 11:34:46 +1000 |
commit | 97acb74c25f8dca37b715423db7aabaaca3e4428 (patch) | |
tree | fda17c123f85311a3170213c9decd8fc8c098b3b | |
parent | Rename _ to PolygLua externally. (diff) | |
download | JackOnAllDevices-97acb74c25f8dca37b715423db7aabaaca3e4428.zip JackOnAllDevices-97acb74c25f8dca37b715423db7aabaaca3e4428.tar.gz JackOnAllDevices-97acb74c25f8dca37b715423db7aabaaca3e4428.tar.bz2 JackOnAllDevices-97acb74c25f8dca37b715423db7aabaaca3e4428.tar.xz |
TODO+=2.5
Diffstat (limited to '')
-rwxr-xr-x | PolygLua.lua | 5 | ||||
-rwxr-xr-x | 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. | |||
6 | 6 | ||
7 | TODO - Make the parsing recursive. So the command "--fancy" could have it's own options table. | 7 | TODO - Make the parsing recursive. So the command "--fancy" could have it's own options table. |
8 | --fancy option0 opt1=foo 'Random string!' --somethingElse | 8 | --fancy option0 opt1=foo 'Random string!' --somethingElse |
9 | When to stop and hand back? | 9 | When to stop and hand back? First time we see a ' -bar' or ' --foo'? |
10 | 10 | ||
11 | TODO - Add some sort of alias mechanism for the #! thing. _.bash'echo "This is bash."':Do() | 11 | TODO - Add some sort of alias mechanism for the #! thing. _.bash'echo "This is bash."':Do() |
12 | The user can define their own aliases in a table, with defaults for bash, sh, luajit, and maybe some others. | 12 | The user can define their own aliases in a table, with defaults for bash, sh, luajit, and maybe some others. |
13 | Then extend it to changing language on the fly _.bash'echo "This is bash."':luajit("print('This is Lua.')"):Do() | 13 | Then extend it to changing language on the fly _.bash'echo "This is bash."':luajit("print('This is Lua.')"):Do() |
14 | 14 | ||
15 | TODO - APT also has +/- for adding and removing option values into an options entry. | ||
16 | Not sure if that is being used. | ||
17 | |||
15 | ]] | 18 | ]] |
16 | 19 | ||
17 | -- Most of this _ stuff was copied from apt-panopticon. | 20 | -- Most of this _ stuff was copied from apt-panopticon. |
@@ -16,7 +16,9 @@ | |||
16 | 16 | ||
17 | local _ = require 'PolygLua' | 17 | local _ = require 'PolygLua' |
18 | 18 | ||
19 | 19 | --[[ TODO - replace this with code to search for and print the README.md file. | |
20 | 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. | ||
21 | ]] | ||
20 | Help = [[ | 22 | Help = [[ |
21 | This is part of the AllAudioToALSAandJACK project, aataaj for short, | 23 | This is part of the AllAudioToALSAandJACK project, aataaj for short, |
22 | pronounced like "attach". | 24 | pronounced like "attach". |