The MVP of the project is really just a Makfile and a set of bash scripts. This has been good to prove that the concept is possible and is useful to developers.
However it really isn't that extensible, and is quite limited to the unix platform.
Solution
Create a Go CLI, as this allows us:
complete flexibility with what we include within the development environment.
unit tests.
cross-platform compilation out of the box (see #8 and #2).
In this PR:
setup the CLI using urfave/cli (also used in @anthdm's neo-go CLI).
added the neo-local start command
starts Docker Compose stack
waits for NeoScan service to launch
pretty logging utilities (spinners!)
Notes
The neo-local start command has a --save-state flag that means that the existing Docker containers are not destroyed, and so fixes #3 (cc/ @metachris).
The same command also has a --verbose flag for toggling verbose logging, which will be useful for more experienced developers. This is something that @metachris has mentioned would be nice to have.
Problem
The MVP of the project is really just a Makfile and a set of bash scripts. This has been good to prove that the concept is possible and is useful to developers.
However it really isn't that extensible, and is quite limited to the unix platform.
Solution
Create a Go CLI, as this allows us:
In this PR:
neo-local start
commandNotes
neo-local start
command has a--save-state
flag that means that the existing Docker containers are not destroyed, and so fixes #3 (cc/ @metachris).--verbose
flag for toggling verbose logging, which will be useful for more experienced developers. This is something that @metachris has mentioned would be nice to have.Screenshots