Skip to content

Unable to swap the order of parameters #16

@wenxin-c

Description

@wenxin-c

Describe the bug

The position of parameters is fixed and cannot be changed. Most CLI application allow to reorder the arguments without affecting functionality. As this app is customised for CLI, users will expect to reorder arguments as well.

image.png

To Reproduce Steps to reproduce the behavior:

  1. Launch program
  2. Input command: academic d/2023-02-02 a/25.10 p/NUS
  3. Input command: academic d/2023-02-02 p/description a/25.10

Expected behavior

Both commands should be valid

Actual behaviour

Step 3 is invalid

Screenshots

image.png

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions