New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type safety #6
Comments
Not blocked on parser generator. I think I'll do this with an API like: const spec = Fig.infer({
name: "...",
});
Fig.run(spec); You can of course write it directly in I'm thinking this will do something more specific than |
This is not possible, because of nesting subcommands. TS doesn't support this as a pattern |
You can use
options.get("not an option")
and TS won't tell you there's a mistake, because actions currently cannot know their options or args statically.Blocked on parser generator. Can generate types too.
The text was updated successfully, but these errors were encountered: