Spine-Toolbox icon indicating copy to clipboard operation
Spine-Toolbox copied to clipboard

Tool argument interpretation

Open jkiviluo opened this issue 3 years ago • 0 comments

Currently Tool argument entry assumes that all argument slices should be on separate rows. E.g.

-d
foo.txt
-f
out.txt

However, the some users might intuitively write

-d "foo.txt"
-f "out.txt"

This can break in the execution of the tool (I did this). So, we should make both work. This requires that space splits the argument and that "" or '' is required to not split. Also, "" and '' should be stripped unless they are escaped.

jkiviluo avatar Oct 01 '21 11:10 jkiviluo