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

feat: basic cli-argument validation #72

Merged
merged 7 commits into from
Dec 21, 2023
Merged

feat: basic cli-argument validation #72

merged 7 commits into from
Dec 21, 2023

Conversation

ComradeVanti
Copy link
Collaborator

Effects

  • Bumps commander
  • Adds dependency for better typings for commander
  • Adds parsing / validation functions for arguments / options

This introduces checks, such as making sure, that when calling openupm add the package argument is a valid package name.

This PR does not include any new tests. It would be nice to be able to test the app on the cli level, but further refactors are necessary for that.

@favoyang favoyang merged commit 49d0a96 into openupm:master Dec 21, 2023
2 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 21, 2023
# [1.19.0](1.18.1...1.19.0) (2023-12-21)

### Features

* basic cli-argument validation ([#72](#72)) ([49d0a96](49d0a96))
@ComradeVanti ComradeVanti deleted the validation branch December 21, 2023 16:11
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.

2 participants