()
| 125 | } |
| 126 | |
| 127 | fn main() { |
| 128 | loop { |
| 129 | show_prompt(); |
| 130 | let line = read_line(); |
| 131 | let chains = chains_from_line(&line); |
| 132 | for chain in chains { |
| 133 | chain.run(); |
| 134 | } |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | /// If stdout is printed to a terminal, print a prompt. |
| 139 | /// Otherwise, do nothing. This allows to redirect the shell stdout |
nothing calls this directly
no test coverage detected