nl_tokens: Execute the command
pl_tokens: function ( id , fileName ) { console . info ( ` ${ id } ${ fileName } ` ) ; // construct the search call.. let model = { } ; return getItem ( id ) . then ( ( item ) => { model . item = item ; if ( this . shouldFetchData ( item . type ) ) { console . info ( ` ${ item . type } ` ) ; return getItemData ( id ) ; } else { console . info ( ` ${ item . type } ` ) ; return Promise . resolve ( ) ; } } ) . then ( ( maybeData ) => { if ( maybeData ) { <mask> . data = maybeData ; } // now write out the file... jsonfile . writeFileSync ( fileName , model , { spaces : 2 } ) ; console . info ( ` ${ model . item . title } ${ fileName } ` ) ; } ) . catch ( ( err ) => { console . error ( err ) ; } ) ; }