Change gist api to take options.
Change gist command to take global options.