-
Notifications
You must be signed in to change notification settings - Fork 29
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
feat: tuple write/delete cmd accepts file; deprecate tuple import #165
feat: tuple write/delete cmd accepts file; deprecate tuple import #165
Conversation
if you can take a look @rhamzeh ;D |
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.
Thanks! Can I also ask you to run make format
and make lint
to make sure we got rid of any lint errors?
@gabrielbussolo may I ask you to also update the README in this PR to document the new options for write and delete? |
sure thing @rhamzeh, ill do it tomorrow ;D |
Signed-off-by: Gabriel Bussolo <[email protected]>
Signed-off-by: Gabriel Bussolo <[email protected]>
Signed-off-by: Gabriel Bussolo <[email protected]>
Updated the README, also fixed the comments. ;D There is a specific lint screaming at me:
is asking to create a specific error for it, but on this case I dont think it makes sense once i need to format the error before I send it (same approach as the also, about the lint, it forces to create a const for a number, and its ok on some contexts, but when we have a function such as the first one i didnt solved, the second one i created a const. What is the team approach on it? |
For both of these cases, it's safe to add a lint ignore.
Other than this lint issue, good to merge! |
Signed-off-by: Gabriel Bussolo <[email protected]>
Signed-off-by: Gabriel Bussolo <[email protected]>
perfect, so its done @rhamzeh |
Thanks @gabrielbussolo! |
aims to fix #161
validates if one of the conditions met: a file or the 3 arguments
writing with a file
file: file.json
file.yaml
keep the current behavior of insert with args:
there is no rule to warn if both are informed (file AND args) but args will be ignored
delete command works same
Deprecate tuple import command
Description
References
Review Checklist
main