fury-old
fury-old copied to clipboard
Create REST server to support VS Code plugin
Drive-by idea: What if we start with a POST /direct
endpoint that just takes an array of string as the body, and then interpret it as if it's a CLI command? I think this reduces the work significantly for the MVP and I feel like the clients will be just as easy to write
I thought about something like that, actually. It might help with invoking certain mutation actions, but wouldn't really solve handling output from Fury, though maybe it's still enough to make faster progress with the VS Code UI while we're still experimenting with how it will work at all.
But my idea evolved a bit from there to come up with some more standard ways of defining both input (including interactivity, i.e. what parameter values are available for a partially-complete command) and output (which may be successful or failing, and may include varying amounts of information).
I'm still thinking about all of this. :)
Ah yeah true, getting the output in a structured format is crucial for nice UI