An open API service indexing awesome lists of open source software.

https://github.com/hashibuto/commander

interactive command processor
https://github.com/hashibuto/commander

cli command golang parser repl shell

Last synced: about 2 months ago
JSON representation

interactive command processor

Awesome Lists containing this project

README

          

# commander
commander is an interactive command processor, similar to python's CMD2, but written for golang. it is not a golang REPL, but rather an interactive shell environment which allows the user to define and implement rich commands, which can then be executed with amenities such as:

- full tab completion
- contextual help
- stdout piping and redirection
- searchable command history

# demo
a brief screen recording showcasing some of commander's capabilities
![demo](https://raw.githubusercontent.com/hashibuto/commander/master/demo.gif)

# example
please explore the working [example](https://github.com/hashibuto/commander/tree/master/example) in the `/example` directory
```
go run ./example/*.go
```