gg <options>
/<app name>
gg -r --req="/encrypt" --exec
gg -r --req="/encrypt/data=somedata?method=aes256" --exec
gg -r --req="/encrypt/data=somedata?method=aes256" --method=POST --exec
gg -r -app="/my_app" --req="/some_request?par1=val1&par2=20&par3=4" --method=PATCH --content=something.json --content-type=application/json --exec
export CONTENT_TYPE= export CONTENT_LENGTH= export GG_SILENT_HEADER=no export REQUEST_METHOD=GET export SCRIPT_NAME="/enc" export PATH_INFO="/encrypt/data/somedata" export QUERY_STRING="method=aes256" /var/lib/gg/bld/enc/enc
#Execute current application as a command-line program, request "json" gg -r --req="/json" --exec #Execute application "app_name", service "json" by calling the application server running with a Unix socket gg -r --req="/json" --app="/app_name" --service --exec #Execute application "app_name", service "json" by calling the application server running with a Unix socket (specified explicitly) #Request has input parameter "act" with value "perf" gg -r --req="/json?act=perf" --app="/app_name" --service --socket="/sock_path/sock" --exec #Execute application "app_name", service "json" by calling the application server running with a TCP socket on port 2301 #Request has input parameter "act" with value "perf" gg -r --req="/json/act=perf" --app="/app_name" --service --remote="192.168.0.21:2301" --exec
gg -q --db="mariadb:mdb postgres:pdb sqlite:sdb" --debug --trace
gg -q --db="mariadb:db" --lflag "-Wl,-z,defs" --cflag "-DXYZ123" --maxupload 18000000
gg -q