Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Feat/53 make all cli flag inputs case insensitive #118

Merged

Conversation

AdityaKulkarni
Copy link
Contributor

📦 Pull Request

  • Added github issues link for devs to submit feedback
  • Made all cli flags case insensitive

Copy link
Contributor

@jamesrp13 jamesrp13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The flag itself should not be case insensitive, it's the values provided that we want to be case insensitive. Even then, we need to not adjust the values provided because e.g. the api key is probably case sensitive. It's just the values that we are comparing againts (e.g. login methods) that we want to be a little more intelligent with. For example, if we expect EmailOTP and they put emailOTP we should still be able to parse that

@AdityaKulkarni
Copy link
Contributor Author

@jamesrp13 Please review the new changes.

@AdityaKulkarni AdityaKulkarni merged commit 64ff11c into staging Jan 22, 2024
2 checks passed
@AdityaKulkarni AdityaKulkarni deleted the feat/53-make-all-cli-flag-inputs-case-insensitive branch January 22, 2024 20:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants