micha/resty

Sourcing resty with OPTIONS

josdotso opened this issue · 2 comments

Hi folks.

I see in the docs:

source resty [-W] [remote]              # load functions into shell

But is this also possible?:

source resty [-W] [remote] [OPTIONS]       # load functions into shell

Thanks,
Joshua

@josdotso After verification this is possible.
At the end of the script that load the functions, resty is called with all his arguments:

resty "$@" >/dev/null 2>&1

(shall I close the issue?)