jawher/mow.cli

Extension: Quick start template

Opened this issue · 1 comments

Hey out there on mow.cli - thanks for sharing that component.

Here is a fast starting template - maybe usefull if someone just want to see mow.cli in action.

Cheers
Tom


Quick start


Clone the repository and install necessary go tools:

# just clone from GitHub
git clone -b master-local --depth=1 https://github.com/TomFreudenberg/golang-cli-cmd-dev-starter.git my-project

# drop connection to GitHub template while want to create your own stuff
rm -rf my-project/.git

# enter project directory
cd my-project

# update versions and go.sum
make go-mod

# install necessary gol tools
make go-tools

Just run the first command:

make run CMD=hello

Or build and run the first command:

make cmd CMD=hello
./bin/hello --help