Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gocli/go-cli
- Owner: gocli
- License: mit
- Created: 2018-01-24T19:26:39.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-19T18:59:02.000Z (12 months ago)
- Last Synced: 2024-04-14T21:45:55.051Z (8 months ago)
- Language: JavaScript
- Homepage: http://gocli.io
- Size: 1.41 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - gocli/go-cli - Create and use boilerplates with ease (JavaScript)
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)