GithubHelp home page GithubHelp logo

pe's People

Contributors

ngjiewu avatar

Watchers

 avatar  avatar

pe's Issues

Wrong syntax of delete command accepted

image.png

Correct syntax provided is "[-i INDEX] : Index of the product to be deleted in list"
Upon typing "delete -i 1 2", it does not show any error message and only the first index is deleted.
Users may assume that they have deleted both the products if they did not see the message which says which product(s) is deleted.

Listing by the sort type -name not in alphabetical order

image.png

Typing list -sort name does not list the products in alphabetical order, capital letters are taken into account and listed before any lower-case letters. Users may find it troublesome to rename all their products to ensure that the first letter is in upper-case or that they have to do it when they are adding the products.

User unable to provide unknown expiry date

image.png

Adding a product without any specified expiry date will be listed as 'not specified'.
However, after adding that product, users are not able to edit any parts of the product unless they provide an expiry date. It will be good to allow users an option to edit a product even if they do not know the product's expiry date, which was why they did not specify when it was added and listed as 'not specified' in the list.

Incorrect syntax of exit command accepted

Provided syntax is : exit | quit | bye

Typing any of the command with additional inputs at the end such as 'exit 123123' will still exit the program even though it does not conform to the expected syntax.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.