hygen icon indicating copy to clipboard operation
hygen copied to clipboard

[feature] Append a line during inject

Open takaaptech opened this issue 6 years ago • 1 comments
trafficstars

Hi @jondot In my case, I have the config file like that dependencies = A,B And I want to inject inline C module so the result will look like:

dependencies = A,B,C

And not like

dependencies = A,B
,C

or 
dependencies 
{
A,
B,
C
}

That would be great if we have a way to do that. Thank so much for the awesome plugin!

takaaptech avatar Jan 26 '19 03:01 takaaptech

So I'm with @takaaptech here, my team and I are using hygen to develop some of our logic for NestJS, which once we've created a module we need to inject it into the root level imports array (which the NestJS cli can do quite well)

Will-Mann-16 avatar May 30 '21 11:05 Will-Mann-16