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

Add call-through option #2

Open
mkropat opened this issue Sep 30, 2014 · 0 comments
Open

Add call-through option #2

mkropat opened this issue Sep 30, 2014 · 0 comments

Comments

@mkropat
Copy link
Collaborator

mkropat commented Sep 30, 2014

When a spy is invoked, record the arguments it was invoked with and then execute (call through to) the original function/command.

This will only ever work with a shell that supports something like declare -f or typeset -f, so dash and posh support is a no-go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant