Scripts for developing Pipedream components
Requires Node.js 8+
Install the package globally by running the following command:
npm install -g @js07/pd-scripts Download and open pd-scripts.pkg.
- Windows (32-bit): pd-scripts-x86.exe
- Windows (64-bit): pd-scripts-x64.exe
Extract the tar archive file and place the pd-scripts folder somewhere in your PATH.
$ npm install -g @js07/pd-scripts $ pd-scripts COMMAND running command... $ pd-scripts (-v|--version|version) @js07/pd-scripts/0.2.1 darwin-x64 node-v14.18.1 $ pd-scripts --help [COMMAND] USAGE $ pd-scripts COMMAND ...pd-scripts create FILESpd-scripts help [COMMAND]pd-scripts publish FILESpd-scripts qa FILESpd-scripts refresh URLpd-scripts update [CHANNEL]pd-scripts version:bump FILESpd-scripts version:dev FILESpd-scripts version:reset FILESpd-scripts version:restore FILESpd-scripts version:set FILESpd-scripts version:showpd-scripts version:store 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
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
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
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
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
update the pd-scripts CLI
USAGE $ pd-scripts update [CHANNEL] OPTIONS --from-local interactively choose an already installed version See code: @oclif/plugin-update
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
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
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
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
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
Show stored versions
USAGE $ pd-scripts version:show OPTIONS -h, --help show CLI help See code: src/commands/version/show.ts
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