We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99fb781 commit 4b10cd2Copy full SHA for 4b10cd2
1 file changed
bin/repl
@@ -11,6 +11,9 @@ export NODE=node
11
# Define the path to the stdlib REPL executable:
12
export STDLIB_REPL=`dirname "$0"`/../lib/node_modules/\@stdlib/repl/bin/cli
13
14
+# Define any command-line options to use when invoking the REPL executable:
15
+flags="$REPL_FLAGS"
16
+
17
18
# FUNCTIONS #
19
@@ -23,7 +26,7 @@ on_error() {
23
26
24
27
# Starts the REPL.
25
28
start() {
- $NODE "$STDLIB_REPL"
29
+ $NODE "$STDLIB_REPL" "$flags"
30
}
31
32
# Runs clean-up tasks.
0 commit comments