Skip to content

Docs error at https://docs.onflow.org/flow-cli/execute-scripts/#arguments-json #246

@dingfengquek

Description

@dingfengquek

Instructions

Please fill out the template below to the best of your ability and include a label indicating which tool/service you were working with when you encountered the problem.

Problem

Arguments JSON

Flag: --argsJSON
Valid inputs: arguments in JSON-Cadence form.

Arguments passed to the Cadence script in Type:Value format. The Type must be the same type as the corresponding parameter in the Cadence source code.

at https://docs.onflow.org/flow-cli/execute-scripts/#arguments-json
Valid inputs seem to be in conflict with the description.

Arguments

Flag: --arg
Valid inputs: argument in Type:Value format.

Arguments passed to the Cadence script in Type:Value format. The Type must be the same as type in the script source code for that argument.
Just above that is another flag with this description.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions