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(contracts): fix `stdin` pipes #228

Closed aelesbao closed 1 year ago

aelesbao commented 1 year ago

Description

The stdin pipe is not working as expected. Example:

$ echo '{ }' | archway contracts instantiate cw20-token --from dev
Missing required flag args

The above message should be a schema validation error instead.

We should also improve the information on the help message instructing the user that the command supports piping from stdin.

Technical Description

Fixes

Help improvements