Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gocli/go-cli

Create and use boilerplates with ease
https://github.com/gocli/go-cli

Last synced: about 1 month ago
JSON representation

Create and use boilerplates with ease

Awesome Lists containing this project

README

        

# go-cli

[![npm](https://img.shields.io/npm/v/go-cli.svg?style=flat-square)](https://www.npmjs.com/package/go-cli)
[![Travis](https://img.shields.io/travis/gocli/go-cli.svg?style=flat-square)](https://travis-ci.org/gocli/go-cli)
[![Coveralls](https://img.shields.io/coveralls/github/gocli/go-cli.svg?style=flat-square)](https://coveralls.io/github/gocli/go-cli)
[![Vulnerabilities](https://snyk.io/test/github/gocli/go-cli/badge.svg?style=flat-square)](https://snyk.io/test/github/gocli/go-cli)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-green.svg?style=flat-square)](https://github.com/gocli/go-cli)

![example](https://raw.githubusercontent.com/gocli/go-cli/master/docs/example.gif)

Go is the toolset to manage boilerplates with less effort.

## Usage

Go can be used in 2 ways:

### Load and install boilerplate

```bash
$ npm install --global go
$ go gocli/boilerplate-example
```

This download [https://github.com/gocli/boilerplate-example](https://github.com/gocli/boilerplate-example) and runs install script.

To create and use your own boilerplates, refer to [documentation](http://gocli.io) or check the list of [community driven boilerplates](http://gocli.io/boilerplates).

Go uses [Loaders](http://gocli.io/#what-is-loader) to download sources.
You are able to [create your own Loaders](http://gocli.io/#creating-loaders) if you need.

### Run local commands

```bash
$ cd project/with/gofile/
$ go run some command
```

This will call the command registered in **gofile.js**.
Take a time to read how to [create your own gofile.js](http://gocli.io/#gofile).

#### Interactive menu

You can also execute **go** with no arguments and that will call an interactive menu with the list of all available commands:

```bash
$ go
[GO] Choose command:
❯ build
deploy
generate
install
```

## Go Lang

It works well with [Go programming language](https://golang.org). In case you have any issues read [troubleshooting page](http://gocli.io/golang).

## License

MIT © [Stanislav Termosa](https://github.com/termosa)