Learn how to build an interactive shell in Go using the abiosoft/ishell package. This tutorial covers configuration options, launching the shell, handling predefined commands or free-form input, interrupting execution, and adding shell history and tab completion. Find out the best option for building interactive shells in Go.
Table of contents
DemoPre-defined commands or free-form?Launching the shell for pre-defined commandsLaunching an uninterpreted (free-form) shellInterrupting executionGetting fancy: adding shell history and tab completionConclusion1 Comment
Sort: