Command-line options for the IDE

The SpiderBasic IDE allows you to modify the paths and files being used from the command-line. This allows you to create several shortcuts that start the IDE with different configurations for different users, or for different projects.

There are also options for compiling SpiderBasic projects directly from the command-line. Building a project from the command-line involves the same actions like at choosing the 'Build Target' or 'Build all Targets' from the compiler menu.

General options:
  -v or --version             displays the IDE version and exits
  -h or --help                displays a description of the command-line arguments
Options for launching the IDE:
  -p or --preferences <file>    loads/saves all the configuration to/from the given file
  -t or --templates <file>      loads/saves the code templates from/to the given file
  -a or --tools <file>          loads/saves the configuration of the external tool from/to this file
  -s or --sourcepath <path>     overwrites the "Source path" setting from the preferences
  -e or --explorerpath <path>   starts the Explorer tool with the given path
  -l or --line <Line number>    moves the cursor to the given line number in the last opened file
  -H or --history <file>        specify the file to use for the session history database
  
Options for building projects:
  -b or --build <file>        specifies the project file to build
  -T or --target <target>     specifies the target to build (the default is to build all targets)
  -q or --quiet               hides all build messages except errors
  -r or --readonly            does not update the project file after compiling (with new access time and build counters)
The default files for -p -t and -a are saved in the .spiderbasic subdirectory of your home directory.

You can also put the filenames of source files to load on the command-line. You can even specify wildcards for them (so with "*.sb" you can load a whole directory).