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

Add CLI flag for HTTP API token path (VC) #6577

Open
wants to merge 12 commits into
base: unstable
Choose a base branch
from

Conversation

syjn99
Copy link

@syjn99 syjn99 commented Nov 9, 2024

Issue Addressed

#6563

Proposed Changes

  • Added http-token-path flag for users who want to set the token path explicity.
  • Added documentation for CLI reference, etc.

Additional Info

  • Throw error when http-token-path is actually a directory.
  • If parent directory doesn't exist, make parent directory.

@CLAassistant
Copy link

CLAassistant commented Nov 9, 2024

CLA assistant check
All committers have signed the CLA.

@syjn99 syjn99 changed the title [WIP] Add cli flag for HTTP API token path (VC) Add cli flag for HTTP API token path (VC) Nov 10, 2024
@syjn99 syjn99 changed the title Add cli flag for HTTP API token path (VC) Add CLI flag for HTTP API token path (VC) Nov 10, 2024
@syjn99 syjn99 marked this pull request as ready for review November 10, 2024 06:00
Copy link
Member

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

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

Thanks for the pull request!

This looks good on the whole, just a few minor tweaks and then we can merge

validator_client/src/cli.rs Outdated Show resolved Hide resolved
validator_client/src/config.rs Outdated Show resolved Hide resolved
@michaelsproul michaelsproul added the waiting-on-author The reviewer has suggested changes and awaits thier implementation. label Nov 15, 2024
@syjn99
Copy link
Author

syjn99 commented Nov 18, 2024

@michaelsproul
Fixed things you mentioned! Sorry for delay, enjoyed Devcon a lot 🙇‍♂️

@chong-he chong-he added ready-for-review The code is ready for review and removed waiting-on-author The reviewer has suggested changes and awaits thier implementation. labels Nov 20, 2024
Copy link
Member

@chong-he chong-he left a comment

Choose a reason for hiding this comment

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

Did some manual testing and it works well!

book/src/help_vc.md Outdated Show resolved Hide resolved
syjn99 and others added 2 commits November 20, 2024 13:59
Co-authored-by: chonghe <44791194+chong-he@users.noreply.github.com>
@syjn99 syjn99 requested a review from chong-he November 20, 2024 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review The code is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants