uv/crates/uv-cli
Frost Ming e1e85ab4c8
feat(cli): add --token option to self update command (#7279)
<!--
Thank you for contributing to uv! To help us out with reviewing, please
consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary

It often reaches the GitHub API rate limit and shows error like `error:
HTTP status client error (403 Forbidden) for url
(https://api.github.com/repos/astral-sh/uv/releases)` when running `uv
self update`.

To bypass this rate limit issue, allow user to pass a GitHub token via
`--token` or `UV_GITHUB_TOKEN` env.

## Test Plan

<!-- How was it tested? -->

---------

Signed-off-by: Frost Ming <me@frostming.com>
2024-09-12 14:27:54 -05:00
..
src feat(cli): add --token option to self update command (#7279) 2024-09-12 14:27:54 -05:00
build.rs uv-cli: add worktree support to build.rs (#6825) 2024-08-29 14:11:50 -04:00
Cargo.toml Generate CLI reference for documentation (#5685) 2024-08-01 16:04:16 +00:00