Is your feature request related to a problem? Please describe.
I have a use case where I'd like to specify a custom flag's default or options based on the value passed to other flag(s), or at least have the ability to provide options asynchronously.
Describe the solution you'd like
Ideally, this would be an extension of dependsOn/relationships et al., by topologically sorting flags based on their interdependencies. My goal is to be able to use my inquirer-based prompter to ask the user for flags that were unspecified on the command line, in the order specified by the dependency graph.
I'm aware this might be out of scope for oclif, but I'm willing to provide more context if needed.
Is your feature request related to a problem? Please describe.
I have a use case where I'd like to specify a custom flag's
defaultoroptionsbased on the value passed to other flag(s), or at least have the ability to provideoptionsasynchronously.Describe the solution you'd like
Ideally, this would be an extension of
dependsOn/relationshipset al., by topologically sorting flags based on their interdependencies. My goal is to be able to use myinquirer-based prompter to ask the user for flags that were unspecified on the command line, in the order specified by the dependency graph.I'm aware this might be out of scope for
oclif, but I'm willing to provide more context if needed.