1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/cli
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
..
bench refactor(lsp): migrate from lspower back to tower-lsp (#14163) 2022-04-03 14:17:30 +10:00
compat chore: forward v1.20.6 release commit to main (#14288) 2022-04-14 15:50:48 -04:00
dts feat(ext/web): Add error events for event listener and timer errors (#14159) 2022-04-13 11:50:57 +02:00
lsp perf(fmt/lint): incremental formatting and linting (#14314) 2022-04-19 22:14:00 -04:00
ops fix: panic when trying to pledge permissions before restoring previous pledge (#14306) 2022-04-17 17:47:24 +02:00
schemas fix(config-file): fix config-file.v1.json schema to allow colons in the task name (#14013) 2022-03-17 13:55:24 -04:00
tests feat(repl): add "--eval-file" flag to execute a script file on startup (#14247) 2022-04-20 14:16:37 +02:00
tools feat(repl): add "--eval-file" flag to execute a script file on startup (#14247) 2022-04-20 14:16:37 +02:00
tsc feat(core): codegen ops (#13861) 2022-03-14 18:44:15 +01:00
auth_tokens.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
build.rs fix: cargo publish fails without absolute paths (#13993) 2022-03-17 01:25:44 +01:00
cache.rs chore: remove all pub(crate)s from the cli crate (#14083) 2022-03-23 09:54:22 -04:00
Cargo.toml perf(fmt/lint): incremental formatting and linting (#14314) 2022-04-19 22:14:00 -04:00
cdp.rs fix(repl): fix null eval result (#13804) 2022-03-02 13:39:08 +09:00
checksum.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
config_file.rs perf(fmt/lint): incremental formatting and linting (#14314) 2022-04-19 22:14:00 -04:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
deno_dir.rs perf(fmt/lint): incremental formatting and linting (#14314) 2022-04-19 22:14:00 -04:00
diagnostics.rs fix(bench): require --unstable flag in JavaScript (#14091) 2022-03-23 16:33:42 +01:00
diff.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
disk_cache.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00
display.rs refactor: add cli/display.rs module (#13879) 2022-03-09 00:19:02 +01:00
emit.rs fix(cli/emit): Check JS roots with // @ts-check (#14090) 2022-04-18 16:52:26 +02:00
errors.rs chore: remove all pub(crate)s from the cli crate (#14083) 2022-03-23 09:54:22 -04:00
file_fetcher.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00
file_watcher.rs fix: --watch was losing items (#14317) 2022-04-19 10:12:30 -04:00
flags.rs feat(repl): add "--eval-file" flag to execute a script file on startup (#14247) 2022-04-20 14:16:37 +02:00
flags_allow_net.rs chore: upgrade clap to v3 (#13266) 2022-01-14 17:38:17 +01:00
fmt_errors.rs feat(ext/web): add globalThis.reportError() (#13799) 2022-04-19 10:59:51 +02:00
fs_util.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00
graph_util.rs fix(cli/emit): Check JS roots with // @ts-check (#14090) 2022-04-18 16:52:26 +02:00
http_cache.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00
http_util.rs chore: remove all pub(crate)s from the cli crate (#14083) 2022-03-23 09:54:22 -04:00
lockfile.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00
logger.rs chore: remove all pub(crate)s from the cli crate (#14083) 2022-03-23 09:54:22 -04:00
main.rs feat(repl): add "--eval-file" flag to execute a script file on startup (#14247) 2022-04-20 14:16:37 +02:00
module_loader.rs chore: remove all pub(crate)s from the cli crate (#14083) 2022-03-23 09:54:22 -04:00
proc_state.rs refactor: Move source map lookups to core (#14274) 2022-04-15 16:08:09 +02:00
README.md Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
resolver.rs chore: remove all pub(crate)s from the cli crate (#14083) 2022-03-23 09:54:22 -04:00
standalone.rs refactor: Move source map lookups to core (#14274) 2022-04-15 16:08:09 +02:00
text_encoding.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
tsc.rs chore: remove all pub(crate)s from the cli crate (#14083) 2022-03-23 09:54:22 -04:00
unix_util.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
version.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
windows_util.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00

Deno CLI Crate

crates docs

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.