Its difficult to code the string names of plots, operators, queries, expression function names, or other parts of the CLI interface where the user is expected to type in a literal string which names a feature in VisIt. Part of the reason for this is that for multi-word names, there is no consistency in use of captialization, spaces, underscores, hyphens, etc. So, even if you can remember the name of the thing, there is no uniform rule for how that string should be formatted and you wind up having to go look for yourself. So, we should fix the consistency there.
However, even with consistency in the formatting of those strings, it would help if the CLI wasn't using only absolute matching logic and instead did something like...
try absolute match first,
if the above fails, try lower-case only match
if the above fails, try lower-case, removed spaces match
if the above fails, try lower-case, removed spaces, hyphens and underscores match
otherwise, the entered string is not recognized
Another option to consider is the use of constrained spell checking where the string is itself spell-checked and then common misspelling are factored out as well.
This would alleviate some tedium in coding CLI scripts.
The string-consistification policy effort alone would require consensus on formatting and then an extensive adjustment to the existing interface to correct all of the cases that don't follow the agreed upon policy. The above matching logic, however, I think would be sufficient to ensure old scripts with old strings would continue to work.
If there is no means for issuing a warning to the user about slight missepllings so they would know to eventually go fix it, it would also mean that over time, users could accumulate CLI code that is sligthly wrong and which we would need to support forever more. But, I think that possibility is worth the improved friendliness of the interface.
Its difficult to code the string names of plots, operators, queries, expression function names, or other parts of the CLI interface where the user is expected to type in a literal string which names a feature in VisIt. Part of the reason for this is that for multi-word names, there is no consistency in use of captialization, spaces, underscores, hyphens, etc. So, even if you can remember the name of the thing, there is no uniform rule for how that string should be formatted and you wind up having to go look for yourself. So, we should fix the consistency there.
However, even with consistency in the formatting of those strings, it would help if the CLI wasn't using only absolute matching logic and instead did something like...
Another option to consider is the use of constrained spell checking where the string is itself spell-checked and then common misspelling are factored out as well.
This would alleviate some tedium in coding CLI scripts.
The string-consistification policy effort alone would require consensus on formatting and then an extensive adjustment to the existing interface to correct all of the cases that don't follow the agreed upon policy. The above matching logic, however, I think would be sufficient to ensure old scripts with old strings would continue to work.
If there is no means for issuing a warning to the user about slight missepllings so they would know to eventually go fix it, it would also mean that over time, users could accumulate CLI code that is sligthly wrong and which we would need to support forever more. But, I think that possibility is worth the improved friendliness of the interface.