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
It will be very nice to have the possibility to declare a new option on picocli micronaut that will be used a new PropertySource (maybe with Custom Type Converters), like that :
The file will be added as a PropertySource and will override the default one.
I think it's a standard behavior of a some cli app to have a configuration file option in order to avoid the lot of --optA A --optB B --optC C
As I see, for now, there is no workaround to allow this kind of options (or need to parse the args like on #20).
And as i see the PropertySource can't be added after the init of ApplicationContext (no way to add some configuration during runtime).
The text was updated successfully, but these errors were encountered:
I have a similar request - it would be nice to override or add an environment with an option. Again there's a problem with the order of initializing the context!
It will be very nice to have the possibility to declare a new option on picocli micronaut that will be used a new PropertySource (maybe with Custom Type Converters), like that :
The file will be added as a
PropertySource
and will override the default one.I think it's a standard behavior of a some cli app to have a configuration file option in order to avoid the lot of
--optA A --optB B --optC C
As I see, for now, there is no workaround to allow this kind of options (or need to parse the args like on #20).
And as i see the PropertySource can't be added after the init of
ApplicationContext
(no way to add some configuration during runtime).The text was updated successfully, but these errors were encountered: