Add --no-hashes to uv export (#6954)

## Summary

Closes https://github.com/astral-sh/uv/issues/6944.
This commit is contained in:
Charlie Marsh 2024-09-02 22:12:29 -04:00 committed by GitHub
parent ad82b94856
commit ccdf2d793b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 76 additions and 11 deletions

View file

@ -2802,6 +2802,14 @@ pub struct ExportArgs {
#[arg(long, overrides_with("dev"))]
pub no_dev: bool,
/// Include hashes for all dependencies.
#[arg(long, overrides_with("no_hashes"), hide = true)]
pub hashes: bool,
/// Omit hashes in the generated output.
#[arg(long, overrides_with("hashes"))]
pub no_hashes: bool,
/// Assert that the `uv.lock` will remain unchanged.
///
/// Requires that the lockfile is up-to-date. If the lockfile is missing or