switchterm

module
v0.0.0-...-dbf61b7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2023 License: AGPL-3.0

README

Switchterm

GitHub repo file count GitHub code size in bytes GitHub repo size GitHub GitHub commit activity status beta

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

  • go 1.21 for gonew

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL