2023-05-19 00:39:38 +02:00
|
|
|
diff --git a/cli/main.rs.1 b/cli/main.rs
|
|
|
|
index 031ab07..4f3b05c 100644
|
|
|
|
--- a/cli/main.rs.1
|
|
|
|
+++ b/cli/main.rs
|
2024-02-09 06:00:19 +01:00
|
|
|
@@ -202,15 +202,6 @@ async fn run_subcommand(flags: Flags) -> Result<i32, AnyError> {
|
|
|
|
let types = tsc::get_types_declaration_file_text();
|
2023-05-19 00:39:38 +02:00
|
|
|
display::write_to_stdout_ignore_sigpipe(types.as_bytes())
|
|
|
|
}),
|
2024-02-09 06:00:19 +01:00
|
|
|
- #[cfg(feature = "upgrade")]
|
2023-05-19 00:39:38 +02:00
|
|
|
- DenoSubcommand::Upgrade(upgrade_flags) => spawn_subcommand(async {
|
|
|
|
- tools::upgrade::upgrade(flags, upgrade_flags).await
|
|
|
|
- }),
|
2024-02-09 06:00:19 +01:00
|
|
|
- #[cfg(not(feature = "upgrade"))]
|
|
|
|
- DenoSubcommand::Upgrade(_) => exit_with_message(
|
|
|
|
- "This deno was built without the \"upgrade\" feature. Please upgrade using the installation method originally used to install Deno.",
|
|
|
|
- 1,
|
|
|
|
- ),
|
2023-05-19 00:39:38 +02:00
|
|
|
DenoSubcommand::Vendor(vendor_flags) => spawn_subcommand(async {
|
|
|
|
tools::vendor::vendor(flags, vendor_flags).await
|
|
|
|
}),
|
|
|
|
diff --git a/cli/args/flags.rs.1 b/cli/args/flags.rs
|
2023-07-05 07:09:32 +02:00
|
|
|
index 72841df..1c93da1 100644
|
2023-05-19 00:39:38 +02:00
|
|
|
--- a/cli/args/flags.rs.1
|
|
|
|
+++ b/cli/args/flags.rs
|
2024-02-09 06:00:19 +01:00
|
|
|
@@ -328,7 +328,6 @@ pub enum DenoSubcommand {
|
2023-05-19 00:39:38 +02:00
|
|
|
Task(TaskFlags),
|
|
|
|
Test(TestFlags),
|
|
|
|
Types,
|
|
|
|
- Upgrade(UpgradeFlags),
|
|
|
|
Vendor(VendorFlags),
|
2024-02-09 06:00:19 +01:00
|
|
|
Publish(PublishFlags),
|
2023-05-19 00:39:38 +02:00
|
|
|
}
|
2024-02-09 06:00:19 +01:00
|
|
|
@@ -760,7 +759,7 @@ impl Flags {
|
2023-05-19 00:39:38 +02:00
|
|
|
std::env::current_dir().ok()
|
|
|
|
}
|
|
|
|
Bundle(_) | Completions(_) | Doc(_) | Fmt(_) | Init(_) | Install(_)
|
2023-09-20 00:37:45 +02:00
|
|
|
- | Uninstall(_) | Jupyter(_) | Lsp | Lint(_) | Types | Upgrade(_)
|
|
|
|
+ | Uninstall(_) | Jupyter(_) | Lsp | Lint(_) | Types
|
2024-02-09 06:00:19 +01:00
|
|
|
| Vendor(_) | Publish(_) => None,
|
2023-05-19 00:39:38 +02:00
|
|
|
}
|
|
|
|
}
|
2024-02-09 06:00:19 +01:00
|
|
|
@@ -944,7 +943,6 @@ pub fn flags_from_vec(args: Vec<String>) -> clap::error::Result<Flags> {
|
2023-05-19 00:39:38 +02:00
|
|
|
"test" => test_parse(&mut flags, &mut m),
|
|
|
|
"types" => types_parse(&mut flags, &mut m),
|
|
|
|
"uninstall" => uninstall_parse(&mut flags, &mut m),
|
|
|
|
- "upgrade" => upgrade_parse(&mut flags, &mut m),
|
|
|
|
"vendor" => vendor_parse(&mut flags, &mut m),
|
2024-02-09 06:00:19 +01:00
|
|
|
"publish" => publish_parse(&mut flags, &mut m),
|
2023-05-19 00:39:38 +02:00
|
|
|
_ => unreachable!(),
|
2024-02-09 06:00:19 +01:00
|
|
|
@@ -1099,7 +1097,6 @@ fn clap_root() -> Command {
|
2023-06-19 20:42:48 +02:00
|
|
|
.subcommand(task_subcommand())
|
|
|
|
.subcommand(test_subcommand())
|
|
|
|
.subcommand(types_subcommand())
|
|
|
|
- .subcommand(upgrade_subcommand())
|
|
|
|
.subcommand(vendor_subcommand())
|
|
|
|
})
|
2023-05-19 00:39:38 +02:00
|
|
|
.long_about(DENO_HELP)
|