Contents

args

Processes command line arguments for Textadept.

Arg Events


Functions


process (arg)

Processes command line arguments. Add command line switches with args.register(). Any unrecognized arguments are treated as filepaths and opened. Generates an 'arg_none' event when no args are present.

Parameters:

See also:


register (switch1, switch2, narg, f, description)

Registers a command line switch.

Parameters: