Call the command if the global config directory is not created

This commit is contained in:
Mohammad Fares 2018-10-14 22:02:51 +03:00
parent 340278836d
commit 506e1de49e

View File

@ -44,7 +44,10 @@ function isSet(input) {
*/
function command(argv) {
console.log('This command is not implemented yet. It will be available in the next versions');
// No global config
if (!di.utility.isGlobalDirectoryCreated()) {
require('./init.js').handler();
}
}