Module:Arguments/doc

This module provides easy processing of arguments passed from #invoke. It is a meta-module, meant for use by other modules, and should not be called from #invoke directly. Its features include:
 * Easy trimming of arguments and removal of blank arguments.
 * Arguments can be passed by both the current frame and by the parent frame at the same time. (More details below.)
 * Arguments can be passed in directly from another Lua module or from the debug console.
 * Most features can be customized.

Basic use
First, you need to load the module. It contains one function, named.

In the most basic scenario, you can use getArgs inside your main function.

However, the recommended practice is to use a function just for processing arguments from #invoke. This means that if someone calls your module from another Lua module you don't have to have a frame object available, which improves performance.