@@ -1162,9 +1162,7 @@ async fn run_command(
11621162 Commands :: Templates { action } => templates:: handle ( action, output) . await ?,
11631163 Commands :: Time { action } => time:: handle ( action, output) . await ?,
11641164 Commands :: Uploads { action } => uploads:: handle ( action) . await ?,
1165- Commands :: Interactive { team } => {
1166- interactive:: run ( config:: resolve_team_arg ( team) ) . await ?
1167- }
1165+ Commands :: Interactive { team } => interactive:: run ( config:: resolve_team_arg ( team) ) . await ?,
11681166 Commands :: Context => handle_context ( output, agent_opts, retry) . await ?,
11691167 Commands :: Favorites { action } => favorites:: handle ( action, output) . await ?,
11701168 Commands :: Roadmaps { action } => {
@@ -1592,31 +1590,11 @@ mod tests {
15921590
15931591 #[ test]
15941592 fn test_should_use_pager_disabled_for_interactive_commands ( ) {
1595- assert ! ( !should_use_pager(
1596- false ,
1597- & OutputFormat :: Table ,
1598- false ,
1599- true
1600- ) ) ;
1593+ assert ! ( !should_use_pager( false , & OutputFormat :: Table , false , true ) ) ;
16011594 // Non-interactive table on TTY would still depend on is_terminal; quiet/json off.
1602- assert ! ( !should_use_pager(
1603- true ,
1604- & OutputFormat :: Table ,
1605- false ,
1606- false
1607- ) ) ;
1608- assert ! ( !should_use_pager(
1609- false ,
1610- & OutputFormat :: Json ,
1611- false ,
1612- false
1613- ) ) ;
1614- assert ! ( !should_use_pager(
1615- false ,
1616- & OutputFormat :: Table ,
1617- true ,
1618- false
1619- ) ) ;
1595+ assert ! ( !should_use_pager( true , & OutputFormat :: Table , false , false ) ) ;
1596+ assert ! ( !should_use_pager( false , & OutputFormat :: Json , false , false ) ) ;
1597+ assert ! ( !should_use_pager( false , & OutputFormat :: Table , true , false ) ) ;
16201598 }
16211599
16221600 #[ test]
0 commit comments