mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 13:26:53 +00:00
Feature : #14 : _health and _version
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
'use strict';
|
||||
const program = require('commander');
|
||||
const colors = require('colors');
|
||||
const pkginfo = require('pkginfo')(module);
|
||||
|
||||
|
||||
program.on('--help', () => {
|
||||
console.log('')
|
||||
@@ -11,7 +13,7 @@ program.on('--help', () => {
|
||||
})
|
||||
|
||||
program
|
||||
.version('0.4.1')
|
||||
.version(module.exports.version)
|
||||
.option('-h, --host <n>', 'hostname of database / localhost by default')
|
||||
.option('-u, --user <n>', 'username of database / root by default')
|
||||
.option('-p, --password <n>', 'password of database / empty by default')
|
||||
|
||||
Reference in New Issue
Block a user