bin/cmd.js
/**
           * @param pathToDir {string} publish the module in this path
           */
@param pathToDir {string} publish the module in this path
@param pathToDir { string } publish the module in this path
function _publishModule(pathToDir) {
            publish(pathToDir, argv.publishArgs).then((data) => {
              console.log(`Published module: ${data.stdout}`);
            }).catch((err) => {
              console.error(`Error while publishing: ${err}`);
            });
          }
function _publishModule ( pathToDir ) { publish ( pathToDir , argv . publishArgs ) . then ( ( data ) => { console . log ( ` ${ data . stdout } ` ) ; } ) . catch ( ( err ) => { console . error ( ` ${ err } ` ) ; } ) ; }
@param pathToDir {string} publish the module in this path
@param pathToDir { string } publish the module in this path
//console.log("Publishing " + pathToDir);