You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Obviously this isn't needed for targetcli itself, but I think it would be one little checkbox to increase the appeal of configshell as a general-use library ....
I haven't taken a crack at it yet -- before I do, could someone (ahem) comment on how feasible it would be? Is anyone violently opposed to this? (I.e., it would mean interpreting quotes and backslashes.)
The text was updated successfully, but these errors were encountered:
I see that pyparsing has a QuotedString class. I think that supporting backslashes may be a little bit more difficult though.
@ryan: a while ago, I wrote a test script when I replaced simpleparse with pyparsing to ensure that the new pyparsing-based parser worked like the old simpleparse-based parser:
Maybe you can use a similar approach to ensure that your modified pyparsing grammar does not introduce a regression. You can also add test cases with paths that contain spaces.
Obviously this isn't needed for
targetcli
itself, but I think it would be one little checkbox to increase the appeal of configshell as a general-use library ....I haven't taken a crack at it yet -- before I do, could someone (ahem) comment on how feasible it would be? Is anyone violently opposed to this? (I.e., it would mean interpreting quotes and backslashes.)
The text was updated successfully, but these errors were encountered: