I'd like to call a .ck program from the Mac OSX Terminal command line, and feed values to variables in the given program.

For example, here's my program 'fooprint.ck':

=begin program

<<< foo >>> ;

=end program

So on the command line I'd like to write

&> chuck fooprint.ck --foo=25

or whatever.

What do I add to the program, and/or what do I add to the command to make this happen?

--
Philipp Blume