[#269] Make Indigo a tool
Description
Problem: Indigo is currently only a library, meaning it can be used only as
part of another project or using ghci
(which is why the tutorial is based on this).
However, it would be nice to have Indigo as an executable tool as well.
Such application needs to be standalone and, for starters, be able to replace the
stack ghci :indigo-repl
from the tutorial in all its (non-interactive) uses, namely:
compile an Indigo contract to Michelson and print it (to file as well).
Solution: Make indigo executable
that could create a boilerplate,
wrap around stack
for build
, run
, and repl
commands, and wrap
around lorentz ContractRegistry
commands.
For the docs part, this will be handled in other issues:
-
#270 (closed) will explain the usages of
indigo repl
instead ofstack ghci :indigo-repl
in the tutorial. -
#232 (closed) will explain the usages of all commands of
indigo
to develop a contract.
Related issue(s)
Resolves #269 (closed)
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.