Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CoreyRobinsonDev/gopher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gopher

Release Report

Gopher is a Go project management CLI tool.
Usage  •  Config  •  Install

Usage

gopher add add command gif add command example gif
gopher build - use --web to compile the program for the browser build command gif
gopher config config command gif
gopher new new command gif
gopher release - use -c, --clean to remove the 'dist' directory before build
release command gif
gopher run - use --web to run the program in the browser
- use -w, --watch to live-reload your code on change
run command gif
gopher test test command gif
gopher tidy tidy command gif
gopher version version command gif

Config

On your initial call a settings.json file will be created at ~/.config/gopher. Here you can customize aspects of the CLI to your liking. Default values are as shown:

{
    // enables stylized output for errors when running 'gopher run' and 'gopher build'
	"prettyPrint": true,
    // the number of lines around the the errored line to output when 'prettyPrint' is enabled
	"prettyPrintPreviewLines": 3,
    // the number of packages to query for when 'gopher add {package}' is ran
	"pkgQueryLimit": 10
}

Install

Download pre-built binary for your system here Releases.

Compiling from Source

  • Clone this repository
git clone https://github.com/CoreyRobinsonDev/gopher.git
  • Create gopher binary
cd gopher
go build
  • Move binary to /usr/local/bin to call it from anywhere in the terminal
sudo mv ./gopher /usr/local/bin
  • Confirm that the program was built successfully
gopher

License

Apache 2.0 License

About

Cli tool for managing Go modules

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages