CashScript / cashscript

⚖️ Easily write and interact with Bitcoin Cash smart contracts
https://cashscript.org
MIT License
115 stars 80 forks source link

cashc-cli improvements #55

Closed dagurval closed 4 years ago

dagurval commented 4 years ago

It's common *nix convention that if output file argument value is -, that the output sent to stdout rather than the actual file -. Currently cashc creates the file -.

For example wget -O - bitcoin.com outputs the html to stdout.

This would be useful for testing (cashc -o - script.cash | less), or for piping the artifact to other scripts

rkalis commented 4 years ago

Great suggestion!

rkalis commented 4 years ago

Other options I want to add before releasing the next version:

Another feature that can be useful when combined with these flags:

rkalis commented 4 years ago

This is released in v0.3.2