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
{{ message }}
This repository has been archived by the owner on Mar 13, 2022. It is now read-only.
Quoted arguments are not respected ever since a5e9c2a (when the click stuff was introduced, although click itself supports quoted arguments). It seems as though the quotes are stripped at some point, causing a variety of issues. For example:
Contents of $HOME/bin/quote:
#!/usr/bin/env pythonimportsysprintsys.argv
Contents of $HOME/.supernova (doesn't really matter, but just to illustrate that I have a valid config):
[dev]
FOO=bar
Running the script with two arguments works correctly, but if I use one quoted argument with a space in it, supernova still registers it as two arguments:
$ supernova -x quote dev foo bar
[SUPERNOVA] Running test against ord...
['/Users/thesquelched/bin/quote', 'foo', 'bar']
$ supernova -x quote dev "foo bar"
[SUPERNOVA] Running test against ord...
['/Users/thesquelched/bin/quote', 'foo', 'bar']
$ supernova -x quote dev 'foo bar'
[SUPERNOVA] Running test against ord...
['/Users/thesquelched/bin/quote', 'foo', 'bar']
Note that the result should be ['/Users/thesquelched/bin/quote', 'foo bar']
The text was updated successfully, but these errors were encountered:
Quoted arguments are not respected ever since a5e9c2a (when the
click
stuff was introduced, althoughclick
itself supports quoted arguments). It seems as though the quotes are stripped at some point, causing a variety of issues. For example:Contents of
$HOME/bin/quote
:Contents of
$HOME/.supernova
(doesn't really matter, but just to illustrate that I have a valid config):Running the script with two arguments works correctly, but if I use one quoted argument with a space in it,
supernova
still registers it as two arguments:Note that the result should be
['/Users/thesquelched/bin/quote', 'foo bar']
The text was updated successfully, but these errors were encountered: