Command Line Options for blue

To view the options that blue has from the commandline, type "blue --help". After that, you should see information printed to the console much like the following:

Usage: blue [flags] filenames

-c filename     compile a .blue file to .csd
-o filename     optional output name for .csd if -c used
-u filename     set user configuration directory to use
-j filename     interpret a jython file

The following are examples of how to use these options.

blue someFile.blue

This should open blue with that file open.

blue -c someFile.blue

This will produce someFile.csd. You can add an optional output filename by using:

blue -c someFile.blue -o mySomeFile.csd
blue -j somePythonScript.py

This will interpet a python file using blue (having access to all of blue's class libraries) you can use (this doesn't quite work on windows, a bug in jython21).

blue -u c:\myBlueConfigDir

This will allow you to use a different user configuration directory instead of the default (userHome)/.blue.