archway-network / cli

Develop WASM smart contracts with the Archway network developer CLI
https://docs.archway.io
Apache License 2.0
44 stars 21 forks source link

fix: Always read from `stdin` before flags #223

Closed aelesbao closed 1 year ago

aelesbao commented 1 year ago

Description

In all commands that accept piped inputs from the stdin, the CLI first reads the args from flags, and only if those are empty it fetches the data from stdin.

The stdin should always precede flags on all commands that accept piped input.