Clarification about Map ordering #10
-
|
The spec should probably clarify the order of the map so that it doesn't rely on e.g. implementation dependent order. I would expect that the order is following the order of declaration (not the alphabetical order) to allow precise control of how things should be displayed (e.g. for help) or processed (e.g. for arguments in specific order) But things could be declared differently as well with the |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 10 replies
-
|
@xoofx I'm not sure that I understand completely. Do you mean that the specification should clarify that it's the order in the OpenCLI Description that is normative? Looking forward to reading about your second thought as well 👍 |
Beta Was this translation helpful? Give feedback.
-
|
@justenwalker wrote in #22
|
Beta Was this translation helpful? Give feedback.
-
|
I want to rethink this a little bit. The only thing where ordering is essential would be for arguments, and they already have an For what use cases is order important, except for arguments? |
Beta Was this translation helpful? Give feedback.
-
|
Ok, my suggestion is that we change the |
Beta Was this translation helpful? Give feedback.
-
|
Created issue: #27 |
Beta Was this translation helpful? Give feedback.
Created issue: #27