oci-cli icon indicating copy to clipboard operation
oci-cli copied to clipboard

oci data-flow run create --generate-param-json-input doesnt seem to work

Open msreekanth opened this issue 1 year ago • 2 comments

Hi, I think there is a minor issue with:

oci data-flow run create --generate-param-json-input --arguments > ~/Desktop/DFL_From_Trunk/arguments.json

Option --arguments is not a recognized complex type, so no example JSON can be produced. Invoke help for this command (--help/-h/-?) to see available documentation on this option

The documentation at

says: --arguments [complex type]

--configuration [complex type]

I am using: oci -v 3.25.4

msreekanth avatar Apr 28 '23 08:04 msreekanth

Just leave the leading "--" off of the parameter name and it should work. It's not well documented, but it does show it this way in oci --help.

kevco-us avatar May 09 '23 19:05 kevco-us

Thanks. It helped.

msreekanth avatar May 10 '23 09:05 msreekanth