mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-03 02:22:19 +00:00
Add --output-file
to uv export
(#7109)
## Summary Closes https://github.com/astral-sh/uv/issues/7058.
This commit is contained in:
parent
3d57b6e795
commit
d0f9016eda
8 changed files with 142 additions and 62 deletions
|
@ -2966,6 +2966,10 @@ pub struct ExportArgs {
|
|||
#[arg(long, overrides_with("hashes"))]
|
||||
pub no_hashes: bool,
|
||||
|
||||
/// Write the compiled requirements to the given `requirements.txt` file.
|
||||
#[arg(long, short)]
|
||||
pub output_file: Option<PathBuf>,
|
||||
|
||||
/// Assert that the `uv.lock` will remain unchanged.
|
||||
///
|
||||
/// Requires that the lockfile is up-to-date. If the lockfile is missing or
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue