| 122 | } |
| 123 | |
| 124 | MetadataResult ProcessFile(ShellState &state, const vector<string> &args) { |
| 125 | state.readStdin = false; |
| 126 | auto &file = args[1]; |
| 127 | if (!state.ProcessFile(file)) { |
| 128 | ShellState::Exit(1); |
| 129 | return MetadataResult::EXIT; |
| 130 | } |
| 131 | return MetadataResult::SUCCESS; |
| 132 | } |
| 133 | |
| 134 | MetadataResult SetInitFile(ShellState &state, const vector<string> &args) { |
| 135 | state.initFile = args[1]; |
no test coverage detected