summaryrefslogtreecommitdiff
path: root/cli/args/flags.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/args/flags.rs')
-rw-r--r--cli/args/flags.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/cli/args/flags.rs b/cli/args/flags.rs
index d2321f32e..b07f3783a 100644
--- a/cli/args/flags.rs
+++ b/cli/args/flags.rs
@@ -2804,11 +2804,16 @@ update to a different location, use the --output flag
})
}
+// TODO(bartlomieju): this subcommand is now deprecated, remove it in Deno 2.
fn vendor_subcommand() -> Command {
Command::new("vendor")
+ .hide(true)
.about("Vendor remote modules into a local directory")
.long_about(
- "Vendor remote modules into a local directory.
+ "⚠️ Warning: `deno vendor` is deprecated and will be removed in Deno 2.0.
+Add `\"vendor\": true` to your `deno.json` or use the `--vendor` flag instead.
+
+Vendor remote modules into a local directory.
Analyzes the provided modules along with their dependencies, downloads
remote modules to the output directory, and produces an import map that