code: async function run(config = {}) {
    const { entries = [] } = config.upload || {}
    spinner.start()
    // console.log('cachePath: ', cachePath)
    shell.rm('-rf', cachePath)
    const compressFilesPaths = await compress({ entries, output: cachePath })
    // console.log('entries', entries)
    // console.log('compressFilesPaths', compressFilesPaths)
    const uploadedResult = await uploadHttp(compressFilesPaths)
    // console.log('result', uploadedResult)
    // [{
    //  file: '/Users/yhtml5/projects/gits/yhtml5-cli/packages/yhtml5-upload-images/imaged/1.png',
    //  response: '{"code":1,"data":["frontend/5aab7991d0a7c576737eb326312bf72f.jpg"],"message":""}'}]
    const result = uploadedResult.map((v, i) => {
      return {
        name: path.basename(v.file),
        url: 'https://assets.2dfire.com/' + v.response.data[0]
      }
    })
  
    shell.rm('-rf', cachePath)
    spinner.stop()
    console.log('result:\n', result)
    console.log('\nupload done!\n')
    return result
  }
docs: const output = path.resolve(entries[0], '../../imaged')