CLI to generate projects using GoGo library
Nice library is one thing, but what matters is the ability to set up new
projects quickly. If you have just one evening for a new idea, you shouldn't
waste 90% of the time to configure webpack and decide on the deployment
strategy.
Prerequisites
gogo cli won't let you generate a new project if you don't have all the tools
installed. Current requirements are:
Ignore flyctl if you want to roll your own deploy
Installation
Install Script
Download gogo-cli and install into a local bin directory.
MacOS, Linux, WSL
Latest version:
curl -L https://raw.githubusercontent.com/can3p/gogo-cli/main/generated/install.sh | sh
Specific version:
curl -L https://raw.githubusercontent.com/can3p/gogo-cli/main/generated/install.sh | sh -s 0.0.4
The script will install the binary into $HOME/bin folder by default, you can override this by setting
$CUSTOM_INSTALL environment variable
Manual download
Get the archive that fits your system from the Releases page and
extract the binary into a folder that is mentioned in your $PATH variable.
Usage
TBD
Something like this, let's say we want to create a bunny project:
cd ~/code
gogo generate project bunny
# or: gogo generate project bunny --skip-deploy
cd bunny/cmd/web
make watchexec
To Replace in the template
<projectname>
<projectemail>
<projectrepo>
<testemailhead> john@mail.wat is split into john and mail.wat
<testemailtail>