Skip to content

feat: add id parameter to create oauth2-client cli#3725

Merged
aeneasr merged 2 commits intoory:masterfrom
inigohu:feature/cli-add-id-create-oauth2-client-param
Apr 26, 2024
Merged

feat: add id parameter to create oauth2-client cli#3725
aeneasr merged 2 commits intoory:masterfrom
inigohu:feature/cli-add-id-create-oauth2-client-param

Conversation

@inigohu
Copy link
Copy Markdown
Contributor

@inigohu inigohu commented Feb 28, 2024

Related issue(s)

#3724

Checklist

  • I have read the contributing guidelines.
  • I have referenced an issue containing the design document if my change
    introduces a new feature.
  • I am following the
    contributing code guidelines.
  • I have read the security policy.
  • I confirm that this pull request does not address a security
    vulnerability. If this pull request addresses a security vulnerability, I
    confirm that I got the approval (please contact
    [email protected]) from the maintainers to push
    the changes.
  • I have added tests that prove my fix is effective or that my feature
    works.
  • I have added or changed the documentation.

Further Comments

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.30%. Comparing base (67a85cc) to head (f811fe5).
Report is 20 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3725   +/-   ##
=======================================
  Coverage   76.29%   76.30%           
=======================================
  Files         134      134           
  Lines       10214    10217    +3     
=======================================
+ Hits         7793     7796    +3     
  Misses       1904     1904           
  Partials      517      517           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@inigohu inigohu force-pushed the feature/cli-add-id-create-oauth2-client-param branch from cf75dcc to 2f708dd Compare February 29, 2024 11:24
Copy link
Copy Markdown
Member

@aeneasr aeneasr left a comment

Choose a reason for hiding this comment

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

Awesome, thank you for your contribution! This looks pretty good and I have some ideas how to improve it further :)

}

id := args[0]
if f := cmd.Flag(flagClientId); f.Changed {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you please only add this flag to create_client?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The cmd_update_client.go uses the same flags as cmd_create_client.go. Both use the flags defined in cmd_helper_client.go.

@inigohu inigohu force-pushed the feature/cli-add-id-create-oauth2-client-param branch from 2f708dd to f3b7ed0 Compare March 5, 2024 15:13
@aeneasr aeneasr merged commit b372fd2 into ory:master Apr 26, 2024
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