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

Handle empty arguments for add command #22

Closed
ShyamKrishna33 opened this issue Mar 21, 2024 · 0 comments · Fixed by #23
Closed

Handle empty arguments for add command #22

ShyamKrishna33 opened this issue Mar 21, 2024 · 0 comments · Fixed by #23
Assignees
Labels
priority.Medium Nice to have severity.Low A flaw that is unlikely to affect normal operations of the product. type.Bug A bug

Comments

@ShyamKrishna33
Copy link

Currently, when the user gives in the add command with the parameters - name, category, type, amount, date - where if the name, category or type parameters are empty the transaction object is created with empty attributes. Handle this case by displaying an error message.

@ShyamKrishna33 ShyamKrishna33 added type.Bug A bug priority.Medium Nice to have severity.Low A flaw that is unlikely to affect normal operations of the product. labels Mar 21, 2024
@ShyamKrishna33 ShyamKrishna33 added this to the v2.0 milestone Mar 21, 2024
@ShyamKrishna33 ShyamKrishna33 removed this from the v2.0 milestone Mar 21, 2024
@Vavinan Vavinan linked a pull request Mar 25, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority.Medium Nice to have severity.Low A flaw that is unlikely to affect normal operations of the product. type.Bug A bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants