nl_tokens: Execute the command
pl_tokens: function ( query ) { // construct the search call.. return searchItems ( { searchForm : { q : query , start : 1 , num : 10 } } ) . then ( ( response ) => { // if we got results if ( Array . isArray ( response . results ) && response . results . length ) { console . info ( ` ${ response . total } ${ query } ` ) ; response . results . forEach ( ( entry ) => { console . info ( ` ${ entry . id } ${ entry . title } ` ) ; } ) } else { console . info ( ` ${ <mask> } ` ) ; } } ) . catch ( ( err ) => { console . error ( err ) ; } ) ; }