Open jameslnewell opened 2 months ago
When scaffold is applied save the scaffold name and options so they can be re-used to run the scaffold again later.
e.g.
First time generating the scaffold:
scaffold @foo/bar/create --apply -- --color=purple
The file scaffold name and options which gets generated .scaffold
.scaffold
scaffold: name: @foo/bar/create opts: color: purple
Later, re-generating the scaffold:
# reads .scaffold to get the name and options scaffold
Could this be done as a scaffold itself?
Because some scaffolds, usually the initial scaffold, we would want to save settings for. For other things eg new controller it wouldn't want to save the settings
When scaffold is applied save the scaffold name and options so they can be re-used to run the scaffold again later.
e.g.
First time generating the scaffold:
The file scaffold name and options which gets generated
.scaffold
Later, re-generating the scaffold: