Dynamically Creating Subcommands Based on Parent Command Flags
Is there any way to dynamically create sub commands? Something like
Command.withSubcommands(Effect.succeed([/* ... */])). I'm creating a cli where the sub commands are dependent on an (optional) flag on the parent command... It should be possible by manually inspecting process.argv before running Command.run but that seems quite bad.