upload to git
This commit is contained in:
29
lexicon
Executable file
29
lexicon
Executable file
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env lua
|
||||
|
||||
if not arg[1] then print("no argument, try again") return end
|
||||
|
||||
require "R2H2"
|
||||
require "color"
|
||||
|
||||
adjustTableSizes = require "output_sizes"
|
||||
printOutputTable = require "output_word"
|
||||
|
||||
showList = require "show_list"
|
||||
searchList = require "search_list"
|
||||
|
||||
words = dofile("words.lua")
|
||||
|
||||
if arg[1] == "all" then
|
||||
showList()
|
||||
return
|
||||
end
|
||||
if arg[1] == "search" then
|
||||
if arg[2] then searchList(arg[2])
|
||||
else print("insert query") end
|
||||
return
|
||||
end
|
||||
if arg[1] == "transcript" then
|
||||
if arg[2] then print(convertToHeonian(arg[2]))
|
||||
else print("no string found") end
|
||||
return
|
||||
end
|
||||
Reference in New Issue
Block a user