1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/cli/tools/repl
Naju Mancheril 3833d37b15
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.
2022-04-20 14:16:37 +02:00
..
channel.rs refactor: factor out CDP message types (#13551) 2022-02-07 17:05:49 +01:00
editor.rs fix: upgrade to swc_ecmascript 0.143 (#14238) 2022-04-08 12:31:47 -04:00
mod.rs feat(repl): add "--eval-file" flag to execute a script file on startup (#14247) 2022-04-20 14:16:37 +02:00
session.rs refactor: factor out CDP message types (#13551) 2022-02-07 17:05:49 +01:00