#!/usr/bin/env node; const Utils = require('./Utils'); const main = async () => { const a = Utils.stoiWithDefault(process.argv[2], 0); const b = Utils.stoiWithDefault(process.argv[3], 0); const c = a + b; console.log(Utils.format("{0:d} + {1:d} = {2:d}", a, b, c)); } main().catch( e => { console.error(e) } );