Skip to content

Generalize & refactor project generator utility #1774

Description

@jribbink

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.)

Metadata

Metadata

Assignees

Labels

FeatureA new user feature or a new package API

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions