App.with_commands


Description:

[ CCode ( has_construct_function = false ) ]
public App.with_commands (string name, string? startup_id, ...)

Creates a new App instance, with name and startup_id, and registers a list of custom commands.

See App and add_command .

Parameters:

name

the name of the application

startup_id

startup notification id, or null

...

null terminated list of command names and command ids

first_command_name

first custom command

Returns:

the newly created App instance.