Switchterm

General info
This project is a command line selection tool
Why build this?
- Go never changes
- Wanted a easy quick way to run commands
What does it do?
- lets you select multiple commands and run them
Technologies
Project is created with:
Requirements
How to run as is?
*1. install the library
go get github.com/golangast/switchterm
*2. do mod tidy/vendor
go mod tidy && go mod vendor
*3. do mod tidy/vendor
go mod tidy && go mod vendor
*1. install gonew to pull down project quickly
go install golang.org/x/tools/cmd/gonew@latest
*2. run gonew
gonew github.com/golangast/switchterm example.com/switchterm
Repository overview
├── switchtermer [folder for functions]
├── configure [folder for config utility functions]
├── switchtermer [folder for functions]
│ ├── colortermer [file for coloring selections]
│ ├── switchutility [file for selection functions]
│ └── switchtermer.go [where the service functions are]
Things to remember
- using atomicgo.dev/keyboard there is no way to call itself after a key press
Reference Commands
- "enter" is to select
- "e" is to select many
- "r" is to remove
- "x" is to execute
- "q" is to quit
Special thanks