Some significant changes to the validateInvokeArgs, validateTriggerArgs & validateInitializeArgs to handle the scenario where either the--sample option is provided --OR-- the --data option is provided.
Coverage increased (+0.2%) to 97.035% when pulling 8624ce44957ea765b450481e263bf8275b51403d on martinhalford:add-data-option into 01f5393dd3075512d688844773f7a3b871062135 on accordproject:master.
Signed-off-by: Martin Halford martin@benext.io
Closes #681
Changes
trigger
command.initialise
andinvoke
commands, for consistency.initialise
andinvoke
commands too.Flags
--data
flag is optional.--sample
flag andsample.md
.sample
ordata
exists. At least one must be specified.Example Usage
Note
Some significant changes to the
validateInvokeArgs
,validateTriggerArgs
&validateInitializeArgs
to handle the scenario where either the--sample
option is provided --OR-- the--data
option is provided.