pub fn run_cmd_depth_first(
    app: &mut ApplicationContext,
    contexts: &[TreeContext],
    params: &CmdParams
) -> Result<i32>