-
Notifications
You must be signed in to change notification settings - Fork 1k
feat: implement patch identity command #3055
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
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3055 +/- ##
==========================================
+ Coverage 77.28% 77.30% +0.01%
==========================================
Files 313 314 +1
Lines 19552 19626 +74
==========================================
+ Hits 15110 15171 +61
- Misses 3274 3282 +8
- Partials 1168 1173 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool! I have a suggestion to improve the CLI flag and streamline it with other patch comamnds :)
from := flagx.MustGetString(cmd, "from") | ||
path := flagx.MustGetString(cmd, "path") | ||
value := flagx.MustGetString(cmd, "value") | ||
if value != "" && op != "add" && op != "replace" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check out how we do this in the Ory CLI right now:
This allows us to have multiple operations in one CLI call :) WDYT?
This PR implements the missing
patch identity
commandRelated issue(s)
N/A
Checklist
introduces a new feature. 8000 li>
contributing code guidelines.
vulnerability. If this pull request addresses a security vulnerability, I
confirm that I got the approval (please contact
security@ory.sh) from the maintainers to push
the changes.
works.
Further Comments
Once merged I could also implement it into the ory cli