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
I am using amalgomate, a go tool for combining multiple different main packages into a single program or library, and I would like to export flags from repacked packages and wrap them with your package, so I can get more details info while printing the help of the repacked package. (Feature actually missing in the current amalgomate version)
Is there a tool allowing to convert a flagset from a package by parsing the ast in order to insert a sflags structs and import your package ?
Hi,
Hope you are all well !
I am using amalgomate, a go tool for combining multiple different main packages into a single program or library, and I would like to export flags from repacked packages and wrap them with your package, so I can get more details info while printing the help of the repacked package. (Feature actually missing in the current amalgomate version)
Is there a tool allowing to convert a flagset from a package by parsing the ast in order to insert a sflags structs and import your package ?
It could be done here:
https://github.com/palantir/amalgomate/blob/master/amalgomate/astfuncs.go#L121-L133
Thanks for any insights.
Cheers,
Rosco
The text was updated successfully, but these errors were encountered: