Skip to content

Conversation

@ptrus
Copy link
Member

@ptrus ptrus commented Nov 25, 2025

Fixes: #628

This now works:
oasis rofl machine logs --deployment testnet | grep "res"

@ptrus ptrus force-pushed the ptrus/fix/enable-piping-logs branch from 966c706 to 5516a8b Compare November 25, 2025 18:10
@netlify
Copy link

netlify bot commented Nov 25, 2025

Deploy Preview for oasisprotocol-cli ready!

Name Link
🔨 Latest commit aa9ee09
🔍 Latest deploy log https://app.netlify.com/projects/oasisprotocol-cli/deploys/692711db46ecbb00083e70a9
😎 Deploy Preview https://deploy-preview-653--oasisprotocol-cli.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ptrus ptrus force-pushed the ptrus/fix/enable-piping-logs branch from 5516a8b to 0508824 Compare November 26, 2025 09:07
@ptrus ptrus requested review from lukaw3d and matevz November 26, 2025 09:40
Copy link
Member

@matevz matevz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and seems to work!

if !common.GetAnswerYes() {
fmt.Printf("WARNING: Removing the account will ERASE secret key material!\n")
fmt.Printf("WARNING: THIS ACTION IS IRREVERSIBLE!\n")
fmt.Fprintln(os.Stderr, "WARNING: Removing the account will ERASE secret key material!")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a number of other warnings and hints throughout the code. Do you think all of those should now be redirected to stderr?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will update on all places yes (and introduce a helper method)

@ptrus ptrus force-pushed the ptrus/fix/enable-piping-logs branch from 0508824 to 384b13d Compare November 26, 2025 14:41
@ptrus ptrus force-pushed the ptrus/fix/enable-piping-logs branch from 384b13d to aa9ee09 Compare November 26, 2025 14:42
@ptrus ptrus merged commit 571f847 into master Nov 26, 2025
5 checks passed
@ptrus ptrus deleted the ptrus/fix/enable-piping-logs branch November 26, 2025 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Terminal stuck after oasis rofl machine logs | grep 'err'

3 participants