mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-29 16:13:47 +00:00
Add uv init --virtual
(#5396)
## Summary Add `uv init --virtual` to create an explicit virtual workspace. Relates to #5338
This commit is contained in:
parent
ac614ee70f
commit
7bcafec778
7 changed files with 196 additions and 54 deletions
|
@ -1794,7 +1794,11 @@ pub struct InitArgs {
|
|||
#[arg(long)]
|
||||
pub name: Option<PackageName>,
|
||||
|
||||
/// Do not create a readme file.
|
||||
/// Create a virtual workspace instead of a project.
|
||||
#[arg(long)]
|
||||
pub r#virtual: bool,
|
||||
|
||||
/// Do not create a `README.md` file.
|
||||
#[arg(long)]
|
||||
pub no_readme: bool,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue