Extracting Array of Possible Elements from a Union of Literals in Effect Typescript
Hi. I have a
Schema.Union of Schema.Literal's. What I want is an array of the possible elements of this union. At least, I think I do. What I want to do is feed that array into a @effect/cli's Args.choice(), so that the user of the CLI program can pick one of the values but not others. How would you do that?