Skip to content
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

Positional parameters #2

Merged
merged 9 commits into from
May 24, 2024
Merged

Positional parameters #2

merged 9 commits into from
May 24, 2024

Conversation

mmkal
Copy link
Owner

@mmkal mmkal commented May 24, 2024

  • Support positional parameters like migra postgresql://a psotgresql://b
  • Also support numbers
  • Also support booleans
  • getInnerType helper to more accurately inspect zod schemas
  • reorganise src dir into separate files rather than one 400+ line index.ts
  • udpate calculator example to use positional parameters so calculator add 2 3 rather than calculator add --left 2 --right 3
  • more hand-written docs on how flags and positional parameters work
  • return ignoredProcedures instead of throwing when invalid
  • add a validation test

@mmkal mmkal merged commit 2124281 into main May 24, 2024
1 check passed
@mmkal mmkal deleted the positional-parameters branch May 24, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant