lib/jitsu/commands/apps.js
function viewCloud(app) {
    if (!app.config || !app.config.cloud) {
      jitsu.log.error('Error: The app ' + app.name.magenta + ' don\'t have any cloud config.');
      jitsu.log.error('You need deploy your app before get any cloud config.');
      return callback(new Error());
    }
    jitsu.log.info('Viewing cloud info for ' + name.magenta);
    jitsu.inspect.putObject(app.config.cloud[0]);
    callback(null, app);
  }
function viewCloud(app) {
    if (!app.config || !app.config.cloud) {
      jitsu.log.error('Error: The app ' + app.name.magenta + ' don\'t have any cloud config.');
      jitsu.log.error('You need deploy your app before get any cloud config.');
      return callback(new Error());
    }
    jitsu.log.info('Viewing cloud info for ' + name.magenta);
    jitsu.inspect.putObject(app.config.cloud[0]);
    callback(null, app);
  }
function viewCloud ( app ) { if ( ! app . config || ! app . config . cloud ) { jitsu . log . error ( 'Error: The app ' + app . name . magenta + ' don\'t have any cloud config.' ) ; jitsu . log . error ( 'You need deploy your app before get any cloud config.' ) ; return callback ( new Error ( ) ) ; } jitsu . log . info ( 'Viewing cloud info for ' + name . magenta ) ; jitsu . inspect . putObject ( app . config . cloud [ 0 ] ) ; callback ( null , app ) ; }
Print the cloud information for the app and respond.
Print the cloud information for the app and respond .