FLUSSPFERD

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
SEE ALSO
AUTHOR

NAME

flusspferd − interactive Javascript shell/repl

SYNOPSIS

flusspferd [OPTION] ... [FILE|-] [ARG] ...

DESCRIPTION

flusspferd is an interactive Javascript shell/repl based on the Flusspferd Javascript library. It can be used to run and test Javascript code.

OPTIONS

-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.

EXAMPLES

  $ 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");’.

SEE ALSO

For more information see our homepage at http://www.flusspferd.org

AUTHOR

Flusspferd Team <team -AT- flusspferd -DOT- org>