PipeScript
PipeScript copied to clipboard
`HttpListenerRequest.Splat/ToParameter(s)()` should return the splat of a command
This should accept parameters from any potential aspect of the request (route, query, body, headers, and cookies) and turn them into a single [Ordered]@{} dictionary containing the request, mapped to a given command.
This command should accept an open-ended number of inputs. Any [ScriptBlock]s will be considered commands. Any other arguments will be considered options.
Commands should be able to self-describe additional constraints in a variety of ways:
- [ ] A Command should be able to opt-out of serving content
- [ ] A Command should be able to opt-out of piping content
- [ ] A command should be able to not map any number of parameters