summaryrefslogtreecommitdiff
path: root/ext/fetch/lib.rs
diff options
context:
space:
mode:
authorNaju Mancheril <najumancheril@users.noreply.github.com>2022-04-20 08:16:37 -0400
committerGitHub <noreply@github.com>2022-04-20 14:16:37 +0200
commit3833d37b15e1e8380efd1a9eea956a8b33745555 (patch)
tree1b4e14b138ad7623feec3ca483988cbf44d5db0b /ext/fetch/lib.rs
parentae479b1036630970c0d0aaf67cbb500a3c7ed622 (diff)
feat(repl): add "--eval-file" flag to execute a script file on startup (#14247)
This commit adds support for "--eval-file" in "deno repl" subcommand. This flag can be used to pass paths or URLs to files, that will be executed on REPL startup. All files will be executed in the same context as the REPL (ie. as "plain old scripts", not ES modules), sharing the global scope. This feature allows to implement custom REPLs on top of Deno's REPL.
Diffstat (limited to 'ext/fetch/lib.rs')
0 files changed, 0 insertions, 0 deletions