Skip to content
Permalink
Browse files

Refactor CLI flag parsing (denoland#2025)

  • Loading branch information...
bartlomieju authored and ry committed Apr 6, 2019
1 parent cb11bbd commit 780e72ab6a092a6a7174c30bf4163857770d2ad0
Showing with 328 additions and 245 deletions.
  1. +0 −10 Cargo.lock
  2. +0 −1 cli/BUILD.gn
  3. +0 −1 cli/Cargo.toml
  4. +211 −135 cli/flags.rs
  5. +2 −2 cli/isolate.rs
  6. +1 −1 cli/isolate_state.rs
  7. +4 −7 cli/main.rs
  8. +1 −1 tests/001_hello.test
  9. +1 −1 tests/002_hello.test
  10. +1 −1 tests/003_relative_import.test
  11. +1 −1 tests/004_set_timeout.test
  12. +1 −1 tests/005_more_imports.test
  13. +1 −1 tests/006_url_imports.test
  14. +1 −1 tests/010_set_interval.test
  15. +1 −1 tests/012_async.test
  16. +1 −1 tests/016_double_await.test
  17. +1 −1 tests/017_import_redirect.test
  18. +1 −1 tests/018_async_catch.test
  19. +1 −1 tests/019_media_types.test
  20. +1 −1 tests/020_json_modules.test
  21. +1 −1 tests/022_info_flag.test
  22. +1 −1 tests/023_no_ext_with_headers.test
  23. +1 −1 tests/024_import_no_ext_with_headers.test
  24. +1 −1 tests/025_reload_js_type_error.test
  25. +1 −1 tests/026_redirect_javascript.js.test
  26. +2 −2 tests/026_workers.test
  27. +2 −2 tests/027_redirect_typescript.ts.test
  28. +2 −0 tests/028_args.test
  29. +3 −0 tests/028_args.ts
  30. +7 −0 tests/028_args.ts.out
  31. +1 −1 tests/async_error.test
  32. +1 −1 tests/error_001.test
  33. +1 −1 tests/error_002.test
  34. +1 −1 tests/error_003_typescript.test
  35. +1 −1 tests/error_007_any.test
  36. +1 −1 tests/error_008_checkjs.test
  37. +1 −1 tests/error_syntax.test
  38. +1 −1 tests/exit_error42.test
  39. +1 −1 tests/https_import.test
  40. +1 −1 tests/if_main.test
  41. +1 −1 tests/import_meta.test
  42. +1 −1 tests/unbuffered_stderr.test
  43. +1 −1 tests/unbuffered_stdout.test
  44. +7 −7 tools/benchmark.py
  45. +1 −1 tools/fmt_test.py
  46. +15 −16 tools/permission_prompt_test.py
  47. +1 −1 tools/throughput_benchmark.py
  48. +1 −1 tools/unit_tests.py
  49. +38 −27 website/manual.md

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -16,7 +16,6 @@ main_extern = [
"$rust_build:dirs",
"$rust_build:flatbuffers",
"$rust_build:futures",
"$rust_build:getopts",
"$rust_build:http",
"$rust_build:hyper",
"$rust_build:hyper_rustls",
@@ -24,7 +24,6 @@ clap = "2.32.0"
dirs = "1.0.5"
flatbuffers = "0.5.0"
futures = "0.1.25"
getopts = "0.2.18"
http = "0.1.16"
hyper = "0.12.25"
hyper-rustls = "0.16.1"
Oops, something went wrong.

0 comments on commit 780e72a

Please sign in to comment.
You can’t perform that action at this time.