Skip to content

A simple CLI built in Go that records terminal commands into a shell script.

Notifications You must be signed in to change notification settings

havenbarnes/gowild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gowild

A simple CLI for recording terminal commands in a shell script

Go CI

Installing

First, download the appropriate binary at github.com/havenbarnes/gowild/releases. If you're using macOS, you want the Darwin distribution. Unzip the package to continue.

Note: If using macOS, you must first open the executable so that it is trusted by the OS:

  • In the Finder on your Mac, locate gowild executable in the directory you just downloaded.
  • Control-click the app icon, then choose Open from the shortcut menu.
  • Click Open and confirm on any popups.

Now, to add gowild globally, run the following commands:

$ cd <binary_directory> # e.g. cd gowild_0.0.1_Darwin_x86_64
$ cp gowild /usr/local/bin/gowild

Usage

$ gowild record
Now recording commands... run 'gowild stop' to end recording
$ echo 'Hello, World!'
$ gowild stop
What should the output file be named? [gowild.sh]: helloworld.sh
$ ./helloworld.sh
Hello, World!

FAQ

What if I use Zsh instead of Bash?

Zsh is also supported! Fish is not yet supported, but planned.

License

ISC

About

A simple CLI built in Go that records terminal commands into a shell script.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages