1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/cli/args
Bartek Iwańczuk c94c5cddb1
feat(upgrade): support deno upgrade 1.46.0 (#25096)
This commit changes `deno upgrade` subcommand to accept
a positional argument that can be either a version, release channel
name or a git hash, making invocations of `deno upgrade` much
more concise:

```
# before
$ deno upgrade --version 1.46.0
# after 
$ deno upgrade 1.46.0
```

```
# before
$ deno upgrade --canary
# after
$ deno upgrade canary
```

```
# specific canary version before
$ deno upgrade --canary --version f042c39180
# after
$ deno upgrade f042c39180
```

Old flags are still supported, but hidden from the help output.
2024-08-19 17:05:10 +02:00
..
deno_json.rs refactor: update to use deno_package_json (#24688) 2024-07-23 17:34:46 -04:00
flags.rs feat(upgrade): support deno upgrade 1.46.0 (#25096) 2024-08-19 17:05:10 +02:00
flags_net.rs fix(permissions): handle ipv6 addresses correctly (#24397) 2024-07-05 23:45:06 +01:00
import_map.rs feat: npm workspace and better Deno workspace support (#24334) 2024-07-04 00:54:33 +00:00
lockfile.rs feat(FUTURE): terse lockfile (v4) (#25059) 2024-08-19 03:01:39 +00:00
mod.rs chore: Rust 1.80.1 (#25089) 2024-08-18 22:24:56 -04:00
package_json.rs refactor: update to use deno_package_json (#24688) 2024-07-23 17:34:46 -04:00