|
flusspferd − interactive Javascript shell/repl |
|
flusspferd [OPTION] ... [FILE|-] [ARG] ... |
|
flusspferd is an interactive Javascript shell/repl based on the Flusspferd Javascript library. It can be used to run and test Javascript code. |
|
-h, --help |
|
Displays a help message. |
|
-v, --version |
|
Print version and exit. |
|
-c, --config config-file |
|
Load config from file config-file. |
|
-i, --interactive |
|
Enter interactive mode (after all files are loaded). |
|
-0, --machine-mode |
|
(Interactive) Machine command mode (separator ’\0’). |
|
-e, --expression expression |
|
Evaluate the expression. |
|
-f, --file file |
|
Run this file before standard script handling. |
|
-I, --include-path path |
|
Add include path. |
|
-M, --module module |
|
Load module. |
|
-m, --main module |
|
Load module as the main module. |
|
--no-global-history |
|
Do not use a global history in interactive mode. |
|
--history-file file |
|
Sets history file (default: ~/.flusspferd-history). |
|
-- |
Stop processing options. |
$ flusspferd will run flusspferd in an interactive repl/shell mode. $ flusspferd flusspferd.js will execute the file flusspferd.js and then quit. $ flusspferd -i flusspferd.js will execute the file flusspferd.js and then run in an interactive repl/shell mode. $ flusspferd -e ’print("hello world");’
will execute the expression ’print("hello world");’. |
|
For more information see our homepage at http://www.flusspferd.org |
|
Flusspferd Team <team -AT- flusspferd -DOT- org> |