From 5b444531bce76450867be72d1b13ec5e147aa99d Mon Sep 17 00:00:00 2001 From: mohitchandarana <44833060+mohitchandarana@users.noreply.github.com> Date: Thu, 25 Mar 2021 12:48:40 -0400 Subject: [PATCH] Updated the chrispl-run command ex. for FS plugins Updated the chrispl-run command ex. for FS plugins An FS plugin throws an error "Plugin run failed" when run without the --args flag The value for the --args flag can be arbitrary --- README.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 2395adb..26d6f30 100644 --- a/README.rst +++ b/README.rst @@ -262,9 +262,10 @@ Run an FS plugin, ``pl-mri10yr06mo01da_normal`` "port": "8000", "address": "%HOSTIP", "user": "chris", - "password": "chris1234"}' + "password": "chris1234"}' \ + --args="dummyData" -This plugin does not require any specific CLI args when run in the default state. Once posted to CUBE, a string is returned to the shell: +Although this is an FS plugin, it requires the --args flag with some dummy string to run. Once posted to CUBE, a string is returned to the shell: .. code-block:: console @@ -296,7 +297,7 @@ or with some formatting: ROOTNODE=$( chrispl-run --plugin name=pl-mri10yr06mo01da_normal \ - --onCUBE="$CUBE" | + --onCUBE="$CUBE" --args="dummyData" | awk '{print $3}' )