Skip to content

MovieStoreGuy/gopher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gopher

Go Report Card Maintainability Build Status codecov License: MIT
Gopher enables the management and development of Golang projects while switch between different developer environments.

When trying to develop projects under different usernames or organisations, it can become frustrating walking through the directories. In order to simplify creating projects, gopher aims to make creating a project less taxing on the developer creating it and just let them get on with it.

Installation

# With out using go modules
mkdir -p ${GOPATH:-'~/go'}/src/github.com/MovieStoreGuy
git clone https://github.com/MovieStoreGuy/gopher.git ${GOPATH:-'~/go'}/src/github.com/MovieStoreGuy/gopher
cd ${GOPATH:-'~/go'}/src/github.com/MovieStoreGuy/gopher
dep ensure
go install

# Using go modules
git clone https://github.com/MovieStoreGuy/gopher.git
cd gopher
go install

Usage

To get started with gopher make sure it is on your $PATH. Once it is on the path, you can start using it.

Usage: gopher [global options] <verb> [verb options] [nested verb...]

Global options:
        -p, --profile      Define the profile to use with gopher (default: current)
        -v, --verbose      Enable verbose logging
        -h, --help         Show the global help

Verbs:
    create:
        -p, --path         Define an alternate path to create the project (Requires Go v1.11+)
        -h, --help         creates a project based on the supplied profile with the name added after flags
    profile:
        -n, --name         The name of the profile to store
        -v, --vcs          The name of the VCS to use
        -u, --username     The username to develop as
        -m, --make-default Make the defined profile the default used
        -h, --help         To use profile ensure you supply a subverb of [create, show, set]
    project:
        -h, --help         To use projects ensure you supply a subverb of [show]

Note: Due to a limitation with the library being used within, options must occur before the verb.

Further Development

This project is in alpha and should be used with care. Any feature requests should be raised against the project.

About

A development tool to make starting go projects easier

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages