GithubHelp home page GithubHelp logo

ctrlaltdylan / pd-scripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from js07/pd-scripts

0.0 2.0 0.0 556 KB

Scripts for developing Pipedream components

License: MIT License

JavaScript 0.38% Batchfile 0.09% TypeScript 99.53%

pd-scripts's Introduction

pd-scripts

Scripts for developing Pipedream components

oclif Version License

Dependencies

Installation

npm

Requires Node.js 8+

Install the package globally by running the following command:

npm install -g @js07/pd-scripts

macOS Installer

Download and open pd-scripts.pkg.

Windows Executable

Binaries

Extract the tar archive file and place the pd-scripts folder somewhere in your PATH.

Usage

$ npm install -g @js07/pd-scripts
$ pd-scripts COMMAND
running command...
$ pd-scripts (-v|--version|version)
@js07/pd-scripts/0.2.0 darwin-x64 node-v14.18.1
$ pd-scripts --help [COMMAND]
USAGE
  $ pd-scripts COMMAND
...

Commands

pd-scripts create FILES

Create a workflow from action files

USAGE
  $ pd-scripts create FILES

ARGUMENTS
  FILES  action files or folder

OPTIONS
  -h, --help               show CLI help
  -p, --password=password  (required) Pipedream password
  -u, --username=username  (required) Pipedream username or email
  --app=app                (required) App name
  --[no-]combined          Add all actions to the same workflow
  --[no-]headless          run puppeteer in headless mode
  --selectAccount          select connected app account in action config

See code: src/commands/create.ts

pd-scripts help [COMMAND]

display help for pd-scripts

USAGE
  $ pd-scripts help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

pd-scripts publish FILES

Publish actions

USAGE
  $ pd-scripts publish FILES

ARGUMENTS
  FILES  action files or folder

OPTIONS
  -h, --help         show CLI help
  --dev              use dev mode
  --profile=profile  pipedream profile to use

See code: src/commands/publish.ts

pd-scripts qa FILES

Publish and create a workflow from actions

USAGE
  $ pd-scripts qa FILES

ARGUMENTS
  FILES  action files or folder

OPTIONS
  -h, --help               show CLI help
  -p, --password=password  (required) Pipedream password
  -u, --username=username  (required) Pipedream username or email
  --app=app                (required) App name
  --[no-]combined          Add all actions to the same workflow
  --dev                    use dev mode
  --[no-]headless          run puppeteer in headless mode
  --profile=profile        pipedream profile to use
  --selectAccount          select connected app account in action config

EXAMPLE
  $ pd-scripts qa components/confection --app "Confection" -u <PDUsernawme> -p "<PDPassword>"

See code: src/commands/qa.ts

pd-scripts refresh URL

Refresh actions in a workflow

USAGE
  $ pd-scripts refresh URL

ARGUMENTS
  URL  url of workflow

OPTIONS
  -h, --help               show CLI help
  -p, --password=password  (required) Pipedream password
  -u, --username=username  (required) Pipedream username or email
  --[no-]headless          run puppeteer in headless mode

EXAMPLE
  $ pd-scripts refresh https://pipedream.com/@pdusername/workflow-name-p_OKCKmHN/edit -u "<PDUsernawme>" -p 
  "<PDPassword>"

See code: src/commands/refresh.ts

pd-scripts update [CHANNEL]

update the pd-scripts CLI

USAGE
  $ pd-scripts update [CHANNEL]

OPTIONS
  --from-local  interactively choose an already installed version

See code: @oclif/plugin-update

pd-scripts version:bump FILES

Bump action versions

USAGE
  $ pd-scripts version:bump FILES

ARGUMENTS
  FILES  action files or folder

OPTIONS
  -h, --help   show CLI help
  --storePrev  store action versions to restore later?

See code: src/commands/version/bump.ts

pd-scripts version:dev FILES

Set action versions to current timestamp

USAGE
  $ pd-scripts version:dev FILES

ARGUMENTS
  FILES  action files or folder

OPTIONS
  -h, --help   show CLI help
  --storePrev  store action versions to restore later?

See code: src/commands/version/dev.ts

pd-scripts version:reset FILES

Reset action versions to 0.0.1

USAGE
  $ pd-scripts version:reset FILES

ARGUMENTS
  FILES  action files or folder

OPTIONS
  -h, --help   show CLI help
  --storePrev  store action versions to restore later?

See code: src/commands/version/reset.ts

pd-scripts version:restore FILES

Restore action versions to previously stored versions

USAGE
  $ pd-scripts version:restore FILES

ARGUMENTS
  FILES  action files or folder

OPTIONS
  -h, --help  show CLI help

See code: src/commands/version/restore.ts

pd-scripts version:set FILES

Set action versions

USAGE
  $ pd-scripts version:set FILES

ARGUMENTS
  FILES  action files or folder

OPTIONS
  -h, --help             show CLI help
  -v, --version=version  (required)
  --storePrev            store action versions to restore later?

See code: src/commands/version/set.ts

pd-scripts version:show

Show stored versions

USAGE
  $ pd-scripts version:show

OPTIONS
  -h, --help  show CLI help

See code: src/commands/version/show.ts

pd-scripts version:store FILES

Store action versions

USAGE
  $ pd-scripts version:store FILES

ARGUMENTS
  FILES  action files or folder

OPTIONS
  -h, --help  show CLI help

See code: src/commands/version/store.ts

pd-scripts's People

Contributors

js07 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.