#!/usr/bin/env node
-'use strict';
-
-const Package = require('../package.json');
-const Config = require('../config/config');
-const Blog = require('..');
-const Minimist = require('minimist');
+import Config from '../config/config.js';
+import Blog from '../lib/blog.js';
+import Minimist from 'minimist';
const internals = {
blog: new Blog(Config),
const value = parsedArguments[argument];
if (argument === 'version') {
- console.log(Package.version);
+ console.log('6.0.0');
return;
}