Support uv export --no-header (#8096)

## Summary

Resolves https://github.com/astral-sh/uv/issues/8063

## Test Plan

`cargo test`
This commit is contained in:
Ahmed Ilyas 2024-10-10 17:17:44 +02:00 committed by GitHub
parent 5a8f0ad705
commit 97af56a603
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 67 additions and 6 deletions

View file

@ -3162,6 +3162,13 @@ pub struct ExportArgs {
#[arg(long, conflicts_with("no_dev"))]
pub only_dev: bool,
/// Exclude the comment header at the top of the generated output file.
#[arg(long, overrides_with("header"))]
pub no_header: bool,
#[arg(long, overrides_with("no_header"), hide = true)]
pub header: bool,
/// Install any editable dependencies, including the project and any workspace members, as
/// non-editable.
#[arg(long)]