You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I recently learned that Source Generators are a thing and this got me thinking that they could be the key to make CLI argument parsing trimming- and AOT-friendly.
Neither did I take a deep dive into Source Generators, nor into the code of Spectre.Console.Cli, so I cannot tell, if this is actually possible. My gut feeling is that it is doable, but it probably requires big code changes.
Unfortunately I don't have the time to further look into this, but I wanted to share this idea anyway. Maybe someone wants to pick it up who's familiar with the code of Spectre.Console.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I recently learned that Source Generators are a thing and this got me thinking that they could be the key to make CLI argument parsing trimming- and AOT-friendly.
Neither did I take a deep dive into Source Generators, nor into the code of Spectre.Console.Cli, so I cannot tell, if this is actually possible. My gut feeling is that it is doable, but it probably requires big code changes.
Unfortunately I don't have the time to further look into this, but I wanted to share this idea anyway. Maybe someone wants to pick it up who's familiar with the code of Spectre.Console.
Best regards,
Michael
Beta Was this translation helpful? Give feedback.
All reactions