Task 1: Building the CLI

The directory structure looks like

Untitled

Fastest process:

1)cd into bbtools

2)cd into bbtools/bin

3)I have executables for linux arm64, windows amd64 and mac (darwin amd64),If you have any other system then skip this section and go to the next section.

Assuming you are on linux execute the command

./bbtools

Untitled

Run install command:

./bbtools install

Run greet command:

./bbtools greet hello ron

Untitled

Building CLI binary using Go:

Installing GO:

This requires us to install go. There are a couple of ways to install go.