Commit d42a9dc
committed
feat(cli): esrun upgrade (self-update); doc fixes; surface CLI types on site
- esrun upgrade: built-in self-update — finds the latest GitHub release for the
target, downloads/extracts it, and replaces the running binary in place
(self_update + rustls). Mirrors the installer. USAGE + install page updated to
use it instead of re-running curl.
- site: document `esrun upgrade` and `esrun types` on the /api/cli page
(options + usage), incl. the @opentf/esrun-types package
- guide: multi-line the loop examples (no more cramped single-line for/await)
- fs page: Glob example is a clean one-liner (match), not a single-line loop1 parent 3888aff commit d42a9dc
9 files changed
Lines changed: 496 additions & 14 deletions
File tree
- crates/runtime-cli
- src
- site/app
- api
- cli
- fs
- docs
- guides/file-handling
- install
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| |||
0 commit comments