code: async function deploy(cmd = '', files = []) {
    if (!['upload', 'replace'].includes(cmd)) {
      throw new Error(
        'shopify-deploy.deploy() first argument must be either "upload", "replace"',
      );
    }
  
    deploying = true;
  
    console.log(chalk.magenta(`\n${figures.arrowUp}  Uploading to Shopify...\n`));
  
    try {
      await promiseThemekitConfig();
      await promiseThemekitDeploy(cmd, files);
    } catch (error) {
      console.error('My Error', error);
    }
  
    deploying = false;
  
    return maybeDeploy;
  }
docs: Deploy to Shopify using themekit.
  
  @param   cmd     String    The command to run
  @param   files   Array     An array of files to deploy
  @return          Promise