8000 Load multiple KV values from file by martinkersner · Pull Request #204 · Bisonai/orakl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Load multiple KV values from file #204

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

Merged
merged 7 commits into from
Feb 2, 2023

Conversation

martinkersner
Copy link
Member
@martinkersner martinkersner commented Feb 2, 2023

This PR implements an additional subcommand insertMany on kv command in CLI. This command allows to load multiple key-value pairs from given JSON file.

Expected file format

file.json

{
  "KEY1": "VALUE1",
  "KEY2": "VALUE2",
  ...
}

How to use

yarn cli kv insertMany \
    --file-path path/to/file.json \
    --chain [chain-name]

Others

  • Documentation for all kv CLI commands
  • Operator documentation updated with the use of insertMany

@martinkersner martinkersner self-assigned this Feb 2, 2023
@martinkersner martinkersner linked an issue Feb 2, 2023 that may be closed by this pull request
@martinkersner martinkersner merged commit 47d4d55 into master Feb 2, 2023
@martinkersner martinkersner deleted the i-175/feat/load-multiple-kv-from-file branch February 2, 2023 07:26
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.

Loading multiple key-value pairs at once
1 participant
0