Expose data via JSON #1138
Replies: 4 comments
-
Thinking
MAY just give everything in one fell swoop? We could add JSON output to |
Beta Was this translation helpful? Give feedback.
-
Some of those operations are more expensive to run than others, so it may be valuable to allow being specific about which things one wants to query, perhaps with additional |
Beta Was this translation helpful? Give feedback.
-
How about having
return the info about the current Valet installation (version number and configuration?). I forgot to mention that adding the version number to this JSON object would be helpful. It could look like this: {
"version": "2.13.16",
"config": {
"tld": "test",
"paths": [
"/Users/nicoverbruggen/.config/valet/Sites"
]
}
} The other commands, |
Beta Was this translation helpful? Give feedback.
-
That's a great idea, although I still think I'd probably go for Good thinking on the cost @drbyte! |
Beta Was this translation helpful? Give feedback.
-
In our stream yesterday @mpociot & I were talking about the idea of exposing some Valet configuration and details (e.g. linked and parked sites) via JSON.
We ended up instead requiring Valet as Composer dependency, but today I talked to @nicoverbruggen who built PHPmon and he was saying it would be valuable to his tool, and probably others, to have this information available as JSON.
Some ideas of data we could expose:
High level config
~/config/valet/config.json
but could later be more).test
if it's missing from config)Parked and linked sites
Beta Was this translation helpful? Give feedback.
All reactions