|
|
[[_TOC_]]
|
|
|
|
|
|
# Requirements
|
|
|
The plugin must be able to handle command line launch mode.
|
|
|
So the correct flag must be added to the desc.txt file, see below.
|
|
|
|
|
|
# Modify the dest.txt
|
|
|
Inform AnyWave your plugin will handle command line options.
|
|
|
Add the line:
|
|
|
````
|
|
|
flags = CanRunFromCommandLine
|
... | ... | @@ -7,7 +12,7 @@ flags = CanRunFromCommandLine |
|
|
Note that you can set several flags separating them by '**:**'
|
|
|
|
|
|
# Specify the command line parameters your plugin will handle
|
|
|
The plugin will receive all the default command line options handled by AnyWave but if you need to handle your own options then you must provide a file called **args.json** and put it along with desc.txt file in the plugin's folder.
|
|
|
The plugin will receive all the default command line options handled by AnyWave but if you need to handle your own options then you must provide a file called **args.json** and put it along with desc.txt file in the plugin folder.
|
|
|
Example of a plugin that will handle the options **eeg_file** (path to a EEG data file) and **meg_file** (path to a MEG data file):
|
|
|
````json
|
|
|
{
|
... | ... | |