Replies: 2 comments 5 replies
-
Ive found a nasty solution! Not proud of it! I created a
|
Beta Was this translation helpful? Give feedback.
0 replies
-
While i haven't done anything like this myself, wouldn't |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm running the commands within a
Host
, and during setup of the host, I need to get the value of--config
so that it can be added to the configuration during the host's setup.Would there be an easy/elegant way to grab the parsed CommandSettings?
I'm thinking that a really hacky way to do this would be to have a fake
CommandApp
that I run first to grab the settings, and then launch the rest of the app.What I would prefer is some way to parse settings from the
Args
outside of the main system.I'll be throwing away this object, but I would let me grab some context for how the application is setup before the
CommandApp
is loaded.Beta Was this translation helpful? Give feedback.
All reactions