version as normal command

This commit is contained in:
cupcakearmy
2019-10-26 21:03:08 +02:00
parent de27034b94
commit 47f5d91e89
3 changed files with 7 additions and 12 deletions

View File

@@ -27,11 +27,6 @@ export const VERSION = '0.5'
export const INSTALL_DIR = '/usr/local/bin'
export const VERBOSE = flags.verbose
if (flags.version) {
console.log('version'.grey, VERSION)
process.exit(0)
}
export const config = init()
function main() {