-
Notifications
You must be signed in to change notification settings - Fork 369
scriptcs opts file
Ryan Rousseau edited this page Jun 29, 2014
·
1 revision
The scriptcs.opts file can store config settings that you would like to be used on each execution of your script.
The settings are stored in JSON format.
{
Modules: "module1,module2",
Output: "output.txt",
Cache: "True",
LogLevel: "debug"
}
While "scriptcs.opts" is the default file name, this can be configured by using the -config flag when executing a script.
scriptcs script.csx -config scritpcs.config
You can override settings in the file with the corresponding command line flags. For example, if you are using the opts file above, you can change the log level by using the -loglevel
flag.
scriptcs script.csx -loglevel info
PR #773 will add the ability to store settings in a global opts file that will be executed on each run without needing a local opts file.
- Home
- Build scriptcs
- Building on Mac and Linux
- Using scriptcs
- The command line
- Package installation
- Writing a script
- Compiling (and caching) to a .dll
- Debugging a script
- REPL
- Running scripts in Atom
- REPL
- Script Packs
- Script Libraries
- Modules
- Hosting
- Community
- Known Issues