Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lcaballero/griller
A boiler plate code generator. Written in Go, but not strictly for Go.
https://github.com/lcaballero/griller
Last synced: 23 days ago
JSON representation
A boiler plate code generator. Written in Go, but not strictly for Go.
- Host: GitHub
- URL: https://github.com/lcaballero/griller
- Owner: lcaballero
- License: epl-1.0
- Created: 2016-07-05T04:42:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-18T20:03:17.000Z (about 8 years ago)
- Last Synced: 2024-06-20T08:01:19.932Z (7 months ago)
- Language: Go
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.org
- License: license
Awesome Lists containing this project
README
#+BEGIN_HTML
#+END_HTML* Introduction
=griller= creates a starter projects with some basic structure. For
Go projects the basic structure includes command line processing using
[[https://github.com/jessevdk/go-flags][go-flags]]. For a =vue= project, the structure include =package.json=
from which npm can install dependencies.** Installation
#+BEGIN_SRC shell
go get -u github.com/lcaballero/griller
#+END_SRC** Usage
#+BEGIN_SRC shell
griller [OPTIONS] name project
#+END_SRCA directory for the project will be created in the current directory
containing the boiler plate code for the project.A =~/.griller= JSON file can be created with the default values for the
=--dest= and =--remote= flags. For example:#+BEGIN_SRC javascript
{
"Remote": "github.com/saber",
"Dest": "$GOPATH/src/github.com/saber"
}
#+END_SRCOnce the =.griller= file is present you can then run (assuming that
the griller executable is on the PATH):#+BEGIN_SRC shell
griller go newlib
#+END_SRCUsing the above values, a new Go project will be located at
=$GOPATH/src/github.com/saber/newlib=. Any internal =import=
statements will use the remote =github.com/saber=. The following set
of commands should test that the boilerplate code will compile and
execute correctly.#+BEGIN_SRC shell
%> cd $GOPATH/src/github.com/saber/newlib
%> go install
%> $GOPATH/bin/newlib
{
"Name":""
}
#+END_SRCThe results of running the last command causes the newly compiled
executable to dump it's configuration to standard out.** License
See license file.
The use and distribution terms for this software are covered by the
[[http://opensource.org/licenses/eclipse-1.0.txt][Eclipse Public License 1.0]], which can be found in the file
'license' at the root of this distribution. By using this software in
any fashion, you are agreeing to be bound by the terms of this
license. You must not remove this notice, or any other, from this
software.