![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME
cmd2array - Create an 'array' from the results of a YubNub command
SYNOPSIS
cmd2array [YUBNUB COMMAND] -as [ARRAY TYPE] -callback [CALLBACK]
EXAMPLES
cmd2array g test
returns an XML-style 'array' of the results of the google search 'test'
cmd2array g test -as xoxo
returns an XOXO-style 'array' of the results of the google search 'test'
cmd2array g test -as json [-callback x]
returns an JSON-style 'array' of the results of the google search 'test'
with optional JSONP callback x
NOTES
The command must be set up with a RegExp using cmd2setup before it will work with this command.
AUTHOR
Stephen Paul Weber
http://singpolyma-tech.blogspot.com/