bin/mv.js
function bin (argv) {
  program.version(pkg.version)
  .usage('[options] <sourceURI> <destURI>')
  .parse(argv)

  var sourceURI = program.args[0]
  var destURI = program.args[1]

  if (!sourceURI || !destURI) {
    program.help()
  }

  shell.mv(sourceURI, destURI, function (err, res, uri) {
    if (!err) {
      debug(res)
    } else {
      console.error(err)
    }
  })
}
function bin (argv) {
  program.version(pkg.version)
  .usage('[options] <sourceURI> <destURI>')
  .parse(argv)

  var sourceURI = program.args[0]
  var destURI = program.args[1]

  if (!sourceURI || !destURI) {
    program.help()
  }

  shell.mv(sourceURI, destURI, function (err, res, uri) {
    if (!err) {
      debug(res)
    } else {
      console.error(err)
    }
  })
}
function bin ( argv ) { program . version ( pkg . version ) . usage ( '[options] <sourceURI> <destURI>' ) . parse ( argv ) var sourceURI = program . args [ 0 ] var destURI = program . args [ 1 ] if ( ! sourceURI || ! destURI ) { program . help ( ) } shell . mv ( sourceURI , destURI , function ( err , res , uri ) { if ( ! err ) { debug ( res ) } else { console . error ( err ) } } ) }
mv as a command.
@param {Array} argv Arguments
mv as a command .