Issue To Be Solved
Currently the Generator used by supercommands init/generate is strongly coupled to individual template file types (i.e. there is. branching logic for scripts/transactions/contracts with a lot of duplicate logic).
(Optional): Suggest A Solution
The TemplateItem interface should be adjusted so that we can remove this branching logic and make the generator more extensible. This helps unblock future needs (i.e. generate test files, other project files like README.md, etc.)
Issue To Be Solved
Currently the Generator used by supercommands init/generate is strongly coupled to individual template file types (i.e. there is. branching logic for scripts/transactions/contracts with a lot of duplicate logic).
(Optional): Suggest A Solution
The
TemplateIteminterface should be adjusted so that we can remove this branching logic and make the generator more extensible. This helps unblock future needs (i.e. generate test files, other project files like README.md, etc.)