Print help information
()
| 27 | |
| 28 | |
| 29 | def print_help(): |
| 30 | """Print help information""" |
| 31 | print("\nAvailable commands:") |
| 32 | print(" quit/exit - Exit the program") |
| 33 | print(" clear - Clear conversation history") |
| 34 | print(" help - Show this help message") |
| 35 | print("\nExample questions:") |
| 36 | print(" - What log files are available?") |
| 37 | print(" - Read the app.log file") |
| 38 | print(" - What errors are in app.log?") |
| 39 | print(" - Search for 'ERROR' in app.log") |
| 40 | print(" - When did the database connection fail?") |
| 41 | print() |
| 42 | |
| 43 | |
| 44 | def main(): |