cli command 'oauth-token'


alex smith
 

hi,

I am attempting to write a plugin for cf cli, and I want to get the users oauth token from the command 'oauth-token' without printing the token to the user's command line. Is there a way to do this currently?

thanks


Matthew Sykes <matthew.sykes@...>
 

CliCommandWithoutTerminalOutput is the function you're looking for.

On Fri, Sep 11, 2015 at 5:51 PM, alex smith <alexs(a)us.ibm.com> wrote:

hi,

I am attempting to write a plugin for cf cli, and I want to get the users
oauth token from the command 'oauth-token' without printing the token to
the user's command line. Is there a way to do this currently?

thanks
--
Matthew Sykes
matthew.sykes(a)gmail.com


alex smith
 

Thanks!