title: “GoWeb VARIABLE::GETARG Function” author: “Pierre Laplante” date: 2025-08-30
variable::getarg returns the command-line arguments passed to the GoWeb process.
variable::getarg() or simply getarg()
The getarg() function returns the command-line arguments passed to the GoWeb process.
It is useful when inspecting or processing arguments provided at startup.
goweb --config config.toml
getarg();
Result:
["--", "-a", "-b", "-c", ";", "./tt"]
Pierre Laplante laplante@plcb.ca