Skip to content

How to user JSON File as input #4

@joergrenn

Description

@joergrenn

Some CLI commands take JSON as input for parameters.
The documentation says that instead of giving the JSON as a string directly in the commandline also a JSON file can be used.
For example: --rules: RULES_JSON|@RULES_JSON_FILE, rules for the ACL in JSON or JSON file.
Can you give an example how this works?
ibmcloud is network-acl-create --rules "testfile.json" does not work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions