"use strict";
let repl = require('repl');
let fullnode = require('../');
// Make all fullnode classes globally available.
for (let prop in fullnode) {
  global[prop] = fullnode[prop];
}
// And also, to easily view what things are available...
global['fullnode'] = fullnode;
repl.start({
  prompt: 'fullnode> ',
  useGlobal: true,
  ignoreUndefined: true
});

#!/usr/bin/env node
"use strict";
let repl = require('repl');
let fullnode = require('../');
// Make all fullnode classes globally available.
fullnode.extend(global, fullnode, {fullnode: fullnode});
repl.start({
  prompt: 'fullnode> ',
  useGlobal: true,
  ignoreUndefined: true
});

use extend in bin/fullnode.js; make executable