micha / resty

Little command line REST client that you can use in pipelines (bash or zsh).
MIT License
2.65k stars 143 forks source link

Sourcing resty with OPTIONS #70

Closed josdotso closed 6 years ago

josdotso commented 8 years ago

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

AdrieanKhisbe commented 6 years ago

@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
AdrieanKhisbe commented 6 years ago

(shall I close the issue?)