(self, options: str)
| 175 | @brief See base class for details. |
| 176 | """ |
| 177 | def _Base__cd(self, options: str): |
| 178 | if not options: |
| 179 | raise CommandException("Specify a directory") |
| 180 | res = self.__run( |
| 181 | f"cd {options} && cd" |
| 182 | ) |
| 183 | |
| 184 | if not res: |
| 185 | raise CommandException("Invalid directory") |
| 186 | |
| 187 | self.directory = (res |
| 188 | .replace("\n", "") |
| 189 | .replace("\r", "")) |
| 190 | print(res, end='') |
| 191 | |
| 192 | """ |
| 193 | @brief See base class for details. |
nothing calls this directly
no test coverage detected