... | @@ -74,10 +74,10 @@ disp(args.plugin_option1); % value for plugin_option1 from the command line. |
... | @@ -74,10 +74,10 @@ disp(args.plugin_option1); % value for plugin_option1 from the command line. |
|
disp(args.plugin_option2); % value for plugin_option2 from the command line.
|
|
disp(args.plugin_option2); % value for plugin_option2 from the command line.
|
|
````
|
|
````
|
|
However, this is possible only if we inform AnyWave about plugin_option1 and plugin_option2.
|
|
However, this is possible only if we inform AnyWave about plugin_option1 and plugin_option2.
|
|
Otherwise, an error will occured when using the command line saying that plugin_option1 and plugin_option2 are unknown options.
|
|
Otherwise, an error will occured when using the command line saying that _plugin_option1_ and _plugin_option2_ are unknown options.
|
|
|
|
|
|
#### Register specific options
|
|
#### Register specific options
|
|
To add support for specific command line option, add a file called arg.json in the plugin folder.
|
|
To add support for specific command line option, add a file called **args.json** in the plugin folder.
|
|
This is a JSON file that must be like this:
|
|
This is a JSON file that must be like this:
|
|
````json
|
|
````json
|
|
{
|
|
{
|
... | | ... | |