diff --git a/bin/nc.js b/bin/nc.js index 39d21f3..6f9df36 100644 --- a/bin/nc.js +++ b/bin/nc.js @@ -2,11 +2,20 @@ const program = require("commander"); const Services = require("../lib/services"); const ora = require("ora"); +const packageJson = require("../package.json"); const spinner = ora(); program - .version("0.0.1", "-v, --version") + .version( + ` + Project Information + --- + Repository (GitHub): ${packageJson.repository} + Nodecloud Version: ${packageJson.version} + `, + "-v, --version" + ) .option("-a, --about", "View about section of NodeCloud CLI") .option("-i, --init", "Initialize provider") .option("-t, --type ", "Type")