'Convert Zapier ZAP to CLI

Currently we are using a command similar to zapier convert appID . --version 1.0.0 to convert our Zapier app, however this only converts the App. I am not sure the difference between an app and a zap, can a zap be added to app to get the full output of zapier convert ?

output of index.js

const newEmailTrigger = require('./triggers/new_email.js');
const createJsonCreate = require('./creates/create_json.js');

module.exports = {
  version: require('./package.json').version,
  platformVersion: require('zapier-platform-core').version,
  triggers: { [newEmailTrigger.key]: newEmailTrigger },
  creates: { [createJsonCreate.key]: createJsonCreate },
};


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source