Table of Contents

Hop command

Hop v3.0.0
usage: hop [options] ...
       hop [options] file.hop|file.hz|file.js ...

Misc:
   -h,--help                     This message
   --options                     Display the Hop options and exit
   --version                     Print the version and exit

RC & Autoload:
   -q                            Do not load an init file
   -qmime                        Do not load any mime file
   -qpreferences                 Do not load any user preferences file
   --rc-file FILE                Load alternate rc file
   --rc-dir DIR                  Set rc directory
   --var-dir DIR                 Set var directory
   --cache-dir DIR               Set cache directory
   --icons-dir DIR               Set Hop icons directory
   --no-cache                    Disable server caching
   --clear-cache                 Clear all caches
   --no-clear-cache              Don't clear any cache
   --no-sofile                   Disable loading pre-compiled file
   --autoload                    Enable autoload (default)
   --no-autoload                 Disable autoload
   --add-autoload-dir DIR        Add autoload directory
   --autoload-dir DIR            Set autoload directory
   --mime-type FILE              Load aternate user mime-type file
   --preload-service SVC         Preload service

Verbosity & Logging:
   -vLEVEL                       Increase/set verbosity level (-v0 crystal silence)
   -gLEVEL                       Increase/set debug level
   --client-output FILE          Client output port [stderr]
   --devel                       Enable devel mode
   --time                        Report execution time
   -wLEVEL                       Increase/set warning level (-w0 no warning)
   -sLEVEL                       Increase/set security level (-s0 no security enforcement)
   --no-color                    Disable colored traces
   --log-file FILE               Use <FILE> as log file
   --capture-file FILE           Use <FILE> as remote capture file
   --allow-service-override      Allow service overriding (see -s)

Run:
   -p,--http-port PORT           Port number [#f]
   --listen-addr ADDR            Server listen hostname or IP
   --fast-server-event-port PORT Fast Server event port number [#unspecified]
   --https                       Enable HTTPS
   --no-https                    Disable HTTPS
   --https-pkey PEM              HTTPS private key file
   --https-cert PEM              HTTPS certificate file
   --fast-server-event           Enable fast Server events
   --no-fast-server-event        Disable fast server events
   -i,--session-id SESSION       Set session identifier
   --no-job-restore              Don't restore jobs
   -e,--eval STRING              Evaluate Hop STRING
   -j,--evaljs STRING            Evaluate JavaScript STRING
   --repl                        Start a repl
   --repljs                      Start a JS repl
   --jobs                        Enable jobs management
   --no-jobs                     Disable jobs management
   -z,--zeroconf                 Enable zeroconf support
   --no-zeroconf                 Disable zeroconf support (default)
   -d,--webdav                   Enable webdav support
   --no-webdav                   Disable webdav support
   -x,--xml-backend IDENT        Set XML backend [html-5]
   --accept-kill                 Enable remote kill commands (see -k)
   --no-accept-kill              Forbidden remote kill commands
   -k,--kill                     Kill the running local HOP and exit
   --user USER                   Set Hop process owner
   --no-user                     Don't attempt to set the Hop process owner
   --server                      Start the Web server (default)
   --no-server                   Exit after loading command line files
   --exepath NAME                Set JavaScript executable path

Paths:
   -I,--path PATH                Add <PATH> to hop load path
   -L,--library-path PATH        Add <PATH> to hop library path
   -l,--library LIBRARY          Preload additional <LIBRARY>

JavaScript:
   --js                          Enable JavaScript (default)
   --no-js                       Disable JavaScript
   --js-return-as-exit           Consider toplevel returns as exits
   --no-js-return-as-exit        Do not consider toplevel returns as exits
   --js-es6                      Enable all EcmaScript 6 supports
   --js-dsssl                    Enable DSSSL like JS services (deprecated)
   --js-option OPT VAL           Add JavaScript compilation option
   --js-modules-dir DIR          Set default node_modules dir

Internals:
   --configure CONFIG            Report HOP configuration
   --cond-expand FEATURE         Declare cond-expand feature
   --no-thread                   Disable multithreading (equiv. to "--scheduler nothread")
   --max-threads M               Maximum number of handling HTTP requests
   --scheduler IDENT             Set scheduling policy [pool] (see --help-scheduler)
   --help-scheduler              Print available schedulers list
   --javascript-version VERSION  JavaScript version to generate (default "1.5")
   -- FILE                       Ignore next arguments