metaplex-foundation / sugar

Candy Machine Rust CLI.
Apache License 2.0
203 stars 116 forks source link

print signature mint instead of sending it to ProgressBar #383

Closed mugveiga closed 1 year ago

mugveiga commented 2 years ago

This fixes the issue of being able to capture signature reading the terminal output programatically.

For example.. today.. if you run a mint and redirect the output with > output.txt you loose the signature id because ProgressBar will not print if is redirected or run outside a terminal. This behavior makes it impossible to automate tasks using sugar to mint NFTs and read the output.