You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
println!("\n🔍 Testing kiro-cli init fish pre ... | Description: Tests the <code> kiro-cli init fish pre </code> subcommand to verify kiro-cli init fish pre subcommand.");
149
+
150
+
println!("\n🔍 Executing 'kiro-cli init fish pre' subcommand...");
151
+
let response = q_chat_helper::execute_q_subcommand("kiro-cli",&["init","fish","pre"])?;
152
+
153
+
println!("📝 FULL OUTPUT:");
154
+
println!("{}", response);
155
+
println!("📝 END OUTPUT");
156
+
157
+
assert!(response.contains("command mkdir"),"Expected 'command mkdir' in the output");
158
+
assert!(response.contains("Q_NEW_SESSION"),"Expected 'Q_NEW_SESSION' in the output");
159
+
160
+
assert!(response.contains("Load parent"),"Expected 'Load parent' in the output");
161
+
162
+
println!("✅ Kiro Cli init fist pre subcommand executed successfully!");
println!("\n🔍 Testing kiro-cli init fish post ... | Description: Tests the <code> kiro-cli init fish post </code> subcommand to verify kiro-cli init fish post subcommand.");
171
+
172
+
println!("\n🔍 Executing 'kiro-cli init fish post' subcommand...");
173
+
let response = q_chat_helper::execute_q_subcommand("kiro-cli",&["init","fish","post"])?;
174
+
175
+
println!("📝 FULL OUTPUT:");
176
+
println!("{}", response);
177
+
println!("📝 END OUTPUT");
178
+
179
+
assert!(response.contains("set --query"),"Expected 'set --query' in the output");
180
+
assert!(response.contains("TTY"),"Expected 'TTY' in the output");
181
+
182
+
assert!(response.contains("fig_wrap_prompt"),"Expected 'fig_wrap_prompt' in the output");
183
+
184
+
println!("✅ Kiro Cli init fist post subcommand executed successfully!");
println!("\n🔍 Testing kiro-cli init nu pre ... | Description: Tests the <code> kiro-cli init nu pre </code> subcommand to verify kiro-cli init nu pre subcommand.");
193
+
194
+
println!("\n🔍 Executing 'kiro-cli init nu pre' subcommand...");
195
+
let response = q_chat_helper::execute_q_subcommand("kiro-cli",&["init","nu","pre"])?;
196
+
197
+
println!("📝 FULL OUTPUT:");
198
+
println!("{}", response);
199
+
println!("📝 END OUTPUT");
200
+
201
+
assert!(response.contains("Q_SET_PARENT_CHECK"),"Expected 'Q_SET_PARENT_CHECK' in the output");
202
+
assert!(response.contains("should_launch"),"Expected 'should_launch' in the output");
203
+
204
+
assert!(response.contains("with-env"),"Expected 'with-env' in the output");
205
+
assert!(response.contains("Q_SET_PARENT_CHECK"),"Expected 'Q_SET_PARENT_CHECK' in the output");
206
+
println!("✅ Kiro Cli init nu pre subcommand executed successfully!");
println!("\n🔍 Testing kiro-cli init nu pre ... | Description: Tests the <code> kiro-cli init nu post </code> subcommand to verify kiro-cli init nu post subcommand.");
215
+
216
+
println!("\n🔍 Executing 'kiro-cli init nu post' subcommand...");
217
+
let response = q_chat_helper::execute_q_subcommand("kiro-cli",&["init","nu","post"])?;
218
+
219
+
println!("📝 FULL OUTPUT:");
220
+
println!("{}", response);
221
+
println!("📝 END OUTPUT");
222
+
223
+
assert!(response.contains("fig_reset_hooks"),"Expected 'fig_reset_hooks' in the output");
224
+
assert!(response.contains("let hooks ="),"Expected 'let hooks =' in the output");
225
+
226
+
assert!(response.contains("fig_pre_execution_hook"),"Expected 'fig_pre_execution_hook' in the output");
227
+
assert!(response.contains("fig_set_prompt"),"Expected 'fig_set_prompt' in the output");
228
+
assert!(response.contains("StartPrompt"),"Expected 'StartPrompt' in the output");
229
+
230
+
println!("✅ Kiro Cli init nu post subcommand executed successfully!");
0 commit comments