Filtering Foundry CLI output

Often, you have many functions and orienting in the output is hard. To load and trigger only specific functions in each run you can execute the watch command inside the prompt:


                            
watch function_name_1 function_name_2

                          

To stop filtering functions execute the following prompt command:


                            
watch:all

                          

To learn more about the interactive prompt please read:

Interactive prompt with REPL
/foundry-cli/untitled/interactive-prompt-with-repl