chec / cli

A command line interface for using the Chec API
https://chec.io
BSD 3-Clause "New" or "Revised" License
9 stars 7 forks source link

Add --file flag to request command to load JSON payload from a local file rather than provide it as an argument #22

Closed robbieaverill closed 4 years ago

robbieaverill commented 4 years ago

Resolves https://github.com/chec/cli/issues/20

Helpful when using the request command to upload an asset, for example, where the file contents need to be a base64 encoded string. This may easily be too long for bash, so you can use --file=/path/to/payload.json instead.