Gio.Application::local_command_line

function vfunc_local_command_line(arguments: Array(String)): [ok: Boolean, arguments: Array(String), exit_status: Number(gint)] {
}
  

This virtual function is always invoked in the local instance. It gets passed a pointer to a null-terminated copy of @argv and is expected to remove arguments that it handled (shifting up remaining arguments).

The last argument to local_command_line() is a pointer to the @status variable which can used to set the exit status that is returned from Gio.Application.prototype.run.

See Gio.Application.prototype.run for more details on Gio.Application startup.

arguments

array of command line arguments

Returns

true if the commandline has been completely handled