Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[FrameworkBundle] Fixed parsing new JSON output of debug:config not possible#50637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[FrameworkBundle] Fixed parsing new JSON output of debug:config not possible#50637
Uh oh!
There was an error while loading.Please reload this page.
Conversation
stof commentedJun 12, 2023
The title should be only for the text format IMO |
Toflar commentedJun 12, 2023
There is no text format. The default is |
stof commentedJun 12, 2023
then maybe the title should be removed or be an info written to stderr instead of stdout |
Toflar commentedJun 12, 2023
I don't really see any value in the title either but I don't feel like I'm in charge to decide on this 😄 |
ro0NL commentedJun 12, 2023
maybe show title if --format is not given or put different, the default format can be new |
Toflar commentedJun 12, 2023
I like that suggestions so I've quickly implemented a first version - wdyt? |
26ebc65 toa3e8560Comparefabpot commentedJun 24, 2023
Thank you@Toflar. |
See my comment to the original PR which introduced
debug:config --format=json:#48457 (comment)Currently, it's not possible to parse the JSON output (neither is the YAML) which makes
--format=jsonkind of pointless. The argument against this - I guess - is that the JSON format was introduced to make the command independent from the YAML component but still, why is--formatan option then?So I guess by delivering an additional option, we can fix this issue and make it parsable.
(Maybe instead of having
--no-tiltewe should call itparsablein the first place so that if in the future there's something on top of the title, the option would still be valid?)