When a console command prints out default arguments (such as when you do
`./command help blah`), it filters the value through json_encode. Why?

If your default argument value is http://example.com/test.txt, you get
something like this from `./command help blah`:

  Usage:
    blah [-u|--url="..."]

  Options:
   --url (-u) A url. (default: "http:\/\/example.com\/text.txt")

https://github.com/symfony/Console/blob/master/Input/InputDefinition.php#L529

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to