From da73d16b2f8a24439a03da8e22dbebf571db1b07 Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Thu, 16 May 2024 16:13:50 +0100 Subject: [PATCH] chore(docs): add pact plugin manifest args attribute fixes #13 --- docs/plugin-driver-design.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/plugin-driver-design.md b/docs/plugin-driver-design.md index 5b851ff9..c57089fe 100644 --- a/docs/plugin-driver-design.md +++ b/docs/plugin-driver-design.md @@ -49,6 +49,7 @@ The plugin manifest file describes what the plugin provides and how to load it. | entryPoint | The main executable for the plugin | | entryPoints | Optional map of additional entry points. This allows additional entry points for other operating systems (i.e. requiring a .bat file for Windows) | | dependencies | List of system dependencies or plugins required to be able to execute this plugin | +| args | Optional, comma seperated list of arguments to pass to the plugin entrypoint | Example of a manifest for a plugin written in Ruby that provides matching CSV files: @@ -60,7 +61,8 @@ Example of a manifest for a plugin written in Ruby that provides matching CSV fi "version": "0.0.0", "executableType": "exec", "minimumRequiredVersion": "2.7.2", - "entryPoint": "bundle exec main.rb" + "entryPoint": "bin/bundle", + "args": ["exec", "ruby", "main.rb"] } ```