Skip to content

Add command to write a single record with string data#264

Open
vbmade2000 wants to merge 6 commits into
reductstore:mainfrom
vbmade2000:mvora/259-write-record-basic-functionality
Open

Add command to write a single record with string data#264
vbmade2000 wants to merge 6 commits into
reductstore:mainfrom
vbmade2000:mvora/259-write-record-basic-functionality

Conversation

@vbmade2000

@vbmade2000 vbmade2000 commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Addresses #259

This PR adds a following command.
reduct-cli write <ENTRY_PATH> -s <PAYLOAD>.

As the command shows, currently only a record with only string data can be created. No other options are supported in this PR.

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • CHANGELOG.md has been updated (for bug fixes / features / docs)

What kind of change does this PR introduce?

feature

What was changed?

Command write is added to create a single record in a bucket.

Related issues

#259

Does this PR introduce a breaking change?

No

Other information:

Signed-off-by: Malhar Vora <mlvora.2010@gmail.com>
Signed-off-by: Malhar Vora <mlvora.2010@gmail.com>
Signed-off-by: Malhar Vora <mlvora.2010@gmail.com>
Signed-off-by: Malhar Vora <mlvora.2010@gmail.com>
Signed-off-by: Malhar Vora <mlvora.2010@gmail.com>
@vbmade2000 vbmade2000 changed the title Add command to write a single record - Add string data with no options Add command to write a single record with string data Jul 18, 2026
Signed-off-by: Malhar Vora <mlvora.2010@gmail.com>
@vbmade2000
vbmade2000 marked this pull request as ready for review July 18, 2026 05:52
@vbmade2000

Copy link
Copy Markdown
Contributor Author

@atimin This one is ready for review. I have used simple logic to separate alias/bucket/entry from the single value for now. I doubt that the logic is enough. You have written ResourcePathParser but I don't know if it provides extraction of entry-name. Just fyi.

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.

1 participant