Debug prints to stderr internal command handler state and workflow that can be helpful while developing the shell or even troubhleshooting, and is toggled with the hidden builtin .debug
()
| 149 | // can be helpful while developing the shell or even troubhleshooting, and |
| 150 | // is toggled with the hidden builtin .debug |
| 151 | func (h *shellCallHandler) Debug() bool { |
| 152 | h.mu.RLock() |
| 153 | defer h.mu.RUnlock() |
| 154 | return h.debug |
| 155 | } |
| 156 | |
| 157 | // RunAll is the entry point for the shell command |
| 158 | // |
no outgoing calls
no test coverage detected