Replies: 1 comment
-
From digging around in the source code I've found that this line runs the generator nx/packages/tao/src/commands/generate.ts Line 230 in 2f675f7 printChanges function is called after the fact and there is no way to then print out a custom message after that. I'll open up an issue with this as I think it could be drastically improved by allowing generators to feed back more information to the user after a block of change info.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A lot of npm packages give useful information after a running certain commands, a quick example I have to hand is the npm global update. (below)
I have added chalk and boxen to format the message I want, but when I place the console.log at the end of the generator function after
await formatFiles(tree);
it still appears above the CREATE and UPDATE file logs.Is there a way to make it appear at the end so it doesn't get lost?
Beta Was this translation helpful? Give feedback.
All reactions