File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -1530,25 +1530,19 @@ where
1530
1530
if let Some ( ContextValue :: String ( subcommand) ) = err. get ( ContextKind :: InvalidSubcommand )
1531
1531
{
1532
1532
match subcommand. as_str ( ) {
1533
- "compile" | "lock" => {
1533
+ "compile" => {
1534
1534
err. insert (
1535
1535
ContextKind :: SuggestedSubcommand ,
1536
1536
ContextValue :: String ( "uv pip compile" . to_string ( ) ) ,
1537
1537
) ;
1538
1538
}
1539
- "sync" => {
1540
- err. insert (
1541
- ContextKind :: SuggestedSubcommand ,
1542
- ContextValue :: String ( "uv pip sync" . to_string ( ) ) ,
1543
- ) ;
1544
- }
1545
- "install" | "add" => {
1539
+ "install" => {
1546
1540
err. insert (
1547
1541
ContextKind :: SuggestedSubcommand ,
1548
1542
ContextValue :: String ( "uv pip install" . to_string ( ) ) ,
1549
1543
) ;
1550
1544
}
1551
- "uninstall" | "remove" => {
1545
+ "uninstall" => {
1552
1546
err. insert (
1553
1547
ContextKind :: SuggestedSubcommand ,
1554
1548
ContextValue :: String ( "uv pip uninstall" . to_string ( ) ) ,
@@ -1572,12 +1566,6 @@ where
1572
1566
ContextValue :: String ( "uv pip show" . to_string ( ) ) ,
1573
1567
) ;
1574
1568
}
1575
- "tree" => {
1576
- err. insert (
1577
- ContextKind :: SuggestedSubcommand ,
1578
- ContextValue :: String ( "uv pip tree" . to_string ( ) ) ,
1579
- ) ;
1580
- }
1581
1569
_ => { }
1582
1570
}
1583
1571
}
You can’t perform that action at this time.
0 commit comments