@@ -2191,6 +2191,7 @@ int main(int argc, char **argv) {
21912191 * that contain the word python (e.g. "info python-dotenv"). */
21922192 int info_python = (is_info && argc >= 3 &&
21932193 strcmp (argv [2 ], "python" ) == 0 );
2194+ int is_heal = (strcmp (argv [1 ], "heal" ) == 0 );
21942195 int is_logs_follow = 0 ;
21952196 if (argc >= 3 && strcmp (argv [1 ], "daemon" ) == 0 && strcmp (argv [2 ], "logs" ) == 0 ) {
21962197 for (int _i = 3 ; _i < argc ; _i ++ ) {
@@ -2200,6 +2201,9 @@ int main(int argc, char **argv) {
22002201 }
22012202 }
22022203 }
2204+ int is_stress_test = (strcmp (argv [1 ], "stress-test" ) == 0 );
2205+ int is_demo = (strcmp (argv [1 ], "demo" ) == 0 );
2206+ int is_monitor = (strcmp (argv [1 ], "monitor" ) == 0 );
22032207 /* "uninstall <pkg>" with no version spec needs interactive version picker */
22042208 int is_uninstall_interactive = 0 ;
22052209 if (argc >= 3 && strcmp (argv [1 ], "uninstall" ) == 0 ) {
@@ -2211,7 +2215,7 @@ int main(int argc, char **argv) {
22112215 }
22122216 }
22132217 }
2214- is_interactive_command = ((is_info && !info_python ) || is_config || is_logs_follow || is_uninstall_interactive );
2218+ is_interactive_command = ((is_info && !info_python ) || is_config || is_logs_follow || is_heal || is_stress_test || is_demo || is_monitor || is_uninstall_interactive );
22152219 }
22162220 if (!is_swap_python && !is_interactive_command ) {
22172221 try_daemon_cli (target_python , argc , argv , version_injected , forced_version );
0 commit comments