snsh
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Usage: snsh [OPTION]... [SCRIPT] [PARAMETER]...
Snabb Shell: Load the Snabb core and execute Lua source code.
Execute SCRIPT if specified and then exit.
-i, --interactive Start an interactive Read-Eval-Print Loop.
-e EXPR, --eval EXPR Evaluate the Lua expression EXPR.
-l MODULE, --load MODULE Load (require) the Lua module MODULE.
-p PROG, --program PROG Run the program PROG instead of snsh.
-t MODULE, --test MODULE Test (selftest) the Lua module MODULE.
-d, --debug Enable additional debugging checks.
-P PATH, --package-path PATH
Use PATH as the Lua 'package.path'.
-q=repl, --sigquit=repl Enter the REPL on SIGQUIT (Control-\).
(Hook is only effective during engine.main().)
-h, --help Print this usage message.