Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow response body from operation command to be piped into another #26

Open
gdereese opened this issue Mar 3, 2018 · 0 comments
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@gdereese
Copy link
Owner

gdereese commented Mar 3, 2018

perhaps we:

  • append special token strings to the start of all output written by operation command before giving to vorpal.log()
  • add vorpal.pipe() handler that
    • strips special tokens before passing on
  • add code to start of operation command action validator that
    • strips out args for those strings starting with special tokens that aren't response body
    • find body parameter and sets from previous command response body (if present)

However, I'm not sure if I want to completely hijack how output is piped between commands to do this. Perhaps someone is mixing this vorpal extension with another; this would stunt the flexibility of the combination of extensions.

@gdereese gdereese added enhancement New feature or request help wanted Extra attention is needed labels Mar 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant