Skip to content

Commit

Permalink
feat: add banner and version (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianFlynn authored Feb 14, 2024
1 parent 8b371d8 commit 319829a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ const fs = require('fs');
const path = require('path');
const xml2js = require('xml2js');

// Import package.json
var package = require('./package.json');

// Print startup banner
console.log(`Starting ${package.name} ... Version: ${package.version}`);

var options = {};
if (settings.retainreads === true) {
options.retain = true;
Expand Down

0 comments on commit 319829a

Please sign in to comment.