1 2 3 4 5 6 7 8
import("core.base.option") function main () print("hello xmake!") local argv = option.get("arguments") if argv then print(argv) end end