<!-- GENERATED! ONLY EDIT `README-source.md` -->
# MOVED
This code has been moved to: https://github.com/zapier/zapier-platform/tree/master/packages/cli
---
<h1 align="center">
<a href="https://zapier.com"><img src="https://cdn.rawgit.com/zapier/zapier-platform-cli/master/goodies/zapier-logomark.png" alt="Zapier" width="200"></a>
<br>
Zapier Platform CLI
<br>
<br>
</h1>
<p align="center">
<a href="https://travis-ci.org/zapier/zapier-platform-cli"><img src="https://img.shields.io/travis/zapier/zapier-platform-cli/master.svg" alt="Travis"></a>
<a href="https://www.npmjs.com/package/zapier-platform-cli"><img src="https://img.shields.io/npm/v/zapier-platform-cli.svg" alt="npm version"></a>
<!--possible downloads badge too, once that's good-->
</p>
Zapier is a platform for creating integrations and workflows. This CLI is your gateway to creating custom applications on the Zapier platform.
[These docs are available here](http://zapier.github.io/zapier-platform-cli/), the [CLI docs are available here](http://zapier.github.io/zapier-platform-cli/cli.html), and you can [view all the schema definitions here](https://zapier.github.io/zapier-platform-schema/build/schema.html).
## Table of Contents
<!-- toc -->
- [Getting Started](#getting-started)
* [What is an App?](#what-is-an-app)
* [How does Zapier Platform CLI Work?](#how-does-zapier-platform-cli-work)
* [Zapier Platform CLI vs UI](#zapier-platform-cli-vs-ui)
* [Requirements](#requirements)
* [Quick Setup Guide](#quick-setup-guide)
* [Tutorial](#tutorial)
- [Creating a Local App](#creating-a-local-app)
* [Local Project Structure](#local-project-structure)
* [Local App Definition](#local-app-definition)
- [Registering an App](#registering-an-app)
- [Deploying an App Version](#deploying-an-app-version)
* [Private App Version (default)](#private-app-version-default)
* [Sharing an App Version](#sharing-an-app-version)
* [Promoting an App Version](#promoting-an-app-version)
- [Converting an Existing App](#converting-an-existing-app)
- [Authentication](#authentication)
* [Basic](#basic)
* [Digest](#digest)
* [Custom](#custom)
* [Session](#session)
* [OAuth1](#oauth1)
* [OAuth2](#oauth2)
- [Resources](#resources)
* [Resource Definition](#resource-definition)
- [Triggers/Searches/Creates](#triggerssearchescreates)
* [Return Types](#return-types)
- [Input Fields](#input-fields)
* [Custom/Dynamic Fields](#customdynamic-fields)
* [Dynamic Dropdowns](#dynamic-dropdowns)
* [Search-Powered Fields](#search-powered-fields)
* [Computed Fields](#computed-fields)
* [Nested & Children (Line Item) Fields](#nested--children-line-item-fields)
- [Output Fields](#output-fields)
* [Nested & Children (Line Item) Fields](#nested--children-line-item-fields-1)
- [Z Object](#z-object)
* [`z.request([url], options)`](#zrequesturl-options)
* [`z.console`](#zconsole)
* [`z.dehydrate(func, inputData)`](#zdehydratefunc-inputdata)
* [`z.dehydrateFile(func, inputData)`](#zdehydratefilefunc-inputdata)
* [`z.stashFile(bufferStringStream, [knownLength], [filename], [contentType])`](#zstashfilebufferstringstream-knownlength-filename-contenttype)
* [`z.JSON`](#zjson)
* [`z.hash()`](#zhash)
* [`z.errors`](#zerrors)
* [`z.cursor`](#zcursor)
- [Bundle Object](#bundle-object)
* [`bundle.authData`](#bundleauthdata)
* [`bundle.inputData`](#bundleinputdata)
* [`bundle.inputDataRaw`](#bundleinputdataraw)
* [`bundle.meta`](#bundlemeta)
* [`bundle.rawRequest`](#bundlerawrequest)
* [`bundle.cleanedRequest`](#bundlecleanedrequest)
* [`bundle.targetUrl`](#bundletargeturl)
* [`bundle.subscribeData`](#bundlesubscribedata)
- [Environment](#environment)
* [Defining Environment Variables](#defining-environment-variables)
* [Accessing Environment Variables](#accessing-environment-variables)
- [Making HTTP Requests](#making-http-requests)
* [Shorthand HTTP Requests](#shorthand-http-requests)
* [Manual HTTP Requests](#manual-http-requests)
+ [POST and PUT Requests](#post-and-put-requests)
* [Using HTTP middleware](#using-http-middleware)
* [HTTP Request Options](#http-request-options)
* [HTTP Response Object](#http-response-object)
- [Dehydration](#dehydration)
* [File Dehydration](#file-dehydration)
- [Stashing Files](#stashing-files)
- [Logging](#logging)
* [Console Logging](#console-logging)
* [Viewing Console Logs](#viewing-console-logs)
* [Viewing Bundle Logs](#viewing-bundle-logs)
* [HTTP Logging](#http-logging)
* [Viewing HTTP Logs](#viewing-http-logs)
- [Error Handling](#error-handling)
* [General Errors](#general-errors)
* [Halting Execution](#halting-execution)
* [Stale Authentication Credentials](#stale-authentication-credentials)
- [Testing](#testing)
* [Writing Unit Tests](#writing-unit-tests)
* [Mocking Requests](#mocking-requests)
* [Running Unit Tests](#running-unit-tests)
* [Testing & Environment Variables](#testing--environment-variables)
* [Viewing HTTP Logs in Unit Tests](#viewing-http-logs-in-unit-tests)
* [Testing in Your CI](#testing-in-your-ci)
- [Using `npm` Modules](#using-npm-modules)
- [Building Native Packages with Docker](#building-native-packages-with-docker)
- [Using Transpilers](#using-transpilers)
- [Example Apps](#example-apps)
- [FAQs](#faqs)
* [Why doesn't Zapier support newer versions of Node.js?](#why-doesnt-zapier-support-newer-versions-of-nodejs)
* [How do I manually set the Node.js version to run my app with?](#how-do-i-manually-set-the-nodejs-version-to-run-my-app-with)
* [When to use placeholders or curlies?](#when-to-use-placeholders-or-curlies)
* [Does Zapier support XML (SOAP) APIs?](#does-zapier-support-xml-soap-apis)
* [Is it possible to iterate over pages in a polling trigger?](#is-it-possible-to-iterate-over-pages-in-a-polling-trigger)
* [How do search-powered fields relate to dynamic dropdowns and why are they both required together?](#how-do-search-powered-fields-relate-to-dynamic-dropdowns-and-why-are-they-both-required-together)
* [What's the deal with pagination? When is it used and how does it work?](#whats-the-deal-with-pagination-when-is-it-used-and-how-does-it-work)
* [How does deduplication work?](#how-does-deduplication-work)
* [Why are my triggers complaining if I don't provide an explicit `id` field?](#why-are-my-triggers-complaining-if-i-dont-provide-an-explicit-id-field)
- [Command Line Tab Completion](#command-line-tab-completion)
* [Zsh Completion Script](#zsh-completion-script)
* [Bash Completion Script](#bash-completion-script)
- [The Zapier Platform Packages](#the-zapier-platform-packages)
* [Updating](#updating)
- [Development of the CLI](#development-of-the-cli)
* [Commands](#commands)
* [Publishing of the CLI (after merging)](#publishing-of-the-cli-after-merging)
- [Get Help!](#get-help)
<!-- tocstop -->
## Getting Started
> If you're new to Zapier Platform CLI, we strongly recommend you to walk through the [Tutorial](https://zapier.com/developer/start) for a more thorough introduction.
### What is an App?
A CLI App is an implementation of your app's API. You build a Node.js application
that exports a single object ([JSON Schema](https://zapier.github.io/zapier-platform-schema/build/schema.html#appschema)) and upload it to Zapier.
Zapier introspects that definition to find out what your app is capable of and
what options to present end users in the Zap Editor.
For those not familiar with Zapier terminology, here is how concepts in the CLI
map to the end user experience:
* [Authentication](#authentication), (usually) which lets us know what credentials to ask users
for. This is used during the "Connect Accounts" section of the Zap Editor.
* [Triggers](#triggerssearchescreates), which read data *from* your API. These have their own section in the Zap Editor.
* [Creates](#triggerssearchescreates), which send data *to* your API to create new records. These are listed under "Actions" in the Zap Editor.
*
没有合适的资源?快使用搜索试试~ 我知道了~
zapier-platform-cli:使用您已经知道JavaScript工具构建Zapier集成并在本地进行测试
共137个文件
js:114个
md:5个
json:3个
5星 · 超过95%的资源 需积分: 10 2 下载量 14 浏览量
2021-01-30
20:16:50
上传
评论
收藏 264KB ZIP 举报
温馨提示
已移动 此代码已移至: : Zapier平台CLI Zapier是用于创建集成和工作流的平台。 此CLI是您在Zapier平台上创建自定义应用程序的网关。 , ,您可以。 目录 入门 如果您是Zapier Platform CLI的新手,我们强烈建议您阅读本以获取更全面的介绍。 什么是应用程序? CLI应用程序是应用程序API的实现。 您构建了一个Node.js应用程序,该应用程序导出单个对象( )并将其上传到Zapier。 Zapier会反省该定义,以找出您的应用程序能够做什么以及在Zap Editor中向最终用户展示哪些选项。 对于不熟悉Zapier术语的用户,以下是CLI中的概念如何映射到最终用户体验: (通常),它使我们知道向用户询问什么凭据。 在Zap编辑器的“连接帐户”部分中使用此功能。 ,从您的API读取数据。 这些在Zap编辑器中都有自己的部分。 ,它将数据发送到您的API以创建新记录。 这些在“ Zap编辑器”中的“操作”下列出。 ,在系统中查找特定记录。 这些还列在Zap编辑器的“操作”下。 ,这些在您的API中定义了对象类型(例如
资源详情
资源评论
资源推荐
收起资源包目录
zapier-platform-cli:使用您已经知道JavaScript工具构建Zapier集成并在本地进行测试 (137个子文件)
_zapier 4KB
_zapier 2KB
docs.css 2KB
.eslintrc 2KB
gitignore 913B
.gitignore 69B
index.html 879B
cli.html 878B
convert.js 15KB
build.js 13KB
convert.js 12KB
build.js 9KB
api.js 9KB
describe.js 9KB
display.js 8KB
help.js 6KB
misc.js 6KB
scaffold.js 6KB
validate.js 5KB
convert.js 5KB
logs.js 5KB
args.js 5KB
set-app-template-versions.js 5KB
promote.js 5KB
watch.js 5KB
migrate.js 4KB
args.js 4KB
link.js 4KB
files.js 4KB
entry.js 4KB
env.js 4KB
smoke-tests.js 4KB
_access.js 4KB
local.js 3KB
login.js 3KB
files.js 3KB
test-convert.js 3KB
docs.js 3KB
lodash.custom.min.js 3KB
oauth1.js 3KB
deprecate.js 3KB
utils.js 3KB
resource.template.js 2KB
test.js 2KB
constants.js 2KB
init.js 2KB
history.js 2KB
invite.js 2KB
validate-app-templates.js 2KB
oauth2.js 2KB
build.js 2KB
push.js 2KB
versions.js 2KB
delete.js 2KB
register.js 2KB
session-auth.js 2KB
apps.js 2KB
output-fields.js 2KB
mocha-mocked-test.js 2KB
collaborate.js 2KB
paging-cursor.js 1KB
promisify.js 1KB
gen-zsh-completions.js 1KB
logout.js 1KB
api.js 1KB
command-invocations.js 1KB
promisify.js 1KB
gen-bash-completions.js 1KB
changelog.js 1KB
stash-file.js 1KB
upload.js 1KB
dehydration.js 1KB
mocha-test.js 1KB
example-apps.js 1KB
async-polling.js 1KB
dynamic-dropdowns-seven.js 951B
paging-poll.js 933B
init.js 905B
search-field.js 898B
custom-auth.js 857B
version-store.js 854B
index.js 831B
dynamic-dropdowns-three.js 814B
custom-fields.js 808B
search.template.js 805B
create.template.js 793B
trigger.template.js 761B
changelog.js 713B
put.js 710B
trigger.js 657B
manual-request.js 642B
search-test.template.js 616B
npm.js 594B
test.template.js 593B
input-fields-children.js 582B
alters-dynamic-fields.js 574B
app-def.js 566B
dynamic-dropdowns-six.js 563B
app-templates.js 556B
create-test.template.js 532B
共 137 条
- 1
- 2
狛绝的追随者
- 粉丝: 23
- 资源: 4611
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
- 关于mybatis的一些相关资源
- 关于mybatist的一些相关资源
- uni-app实战社区交友类app开发&带视频教程
- mybatis动态sql的一些相关资源
- 隐马尔可夫模型在期货市场的应用_曾琦裕 (1).caj
- 极域解控和极域反控!!!
- 安卓android-serialport-api 串口demo源代码.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1