gretzky / golf

the faster way to init a project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

golf ⛳️

the faster way to init a project

demo

requirements

  • bash 4+
  • dialog
  • jq

macOS users can install all with homebrew

$ brew install bash dialog jq

installation

homebrew -- not working atm

$ brew tap gretzky/formulae
$ brew install golf

manually

$ git clone https://github.com/gretzky/golf
$ make install

by default, it installs to /usr/local. you can change the prefix if you want.

$ make PREFIX=$WHATEVER install

you can also uninstall with make uninstall

usage

$ golf

by default, golf creates your project directory and outputs a gitignore, editorconfig, license, readme, and optional github templates all based on your input.

options

-d | --with-defaults: will output a generic gitignore, editorconfig, README, and the MIT license

-m | --minimal: outputs only a gitignore and editorconfig

for help, run golf with the -h | --help flag, or man golf.

looking for something nodejs specific? check out golf.js

license

MIT

About

the faster way to init a project

License:MIT License


Languages

Language:Shell 86.2%Language:Roff 8.4%Language:Makefile 5.4%