Skip to content

Conversation

@matevz
Copy link
Member

@matevz matevz commented Jan 15, 2026

This makes it possible to use the Oasis CLI for automation.

@matevz matevz requested a review from ptrus January 15, 2026 12:07
@netlify
Copy link

netlify bot commented Jan 15, 2026

Deploy Preview for oasisprotocol-cli canceled.

Name Link
🔨 Latest commit 6a6f8a5
🔍 Latest deploy log https://app.netlify.com/projects/oasisprotocol-cli/deploys/696f9a6ab29bba00086875c6

@matevz matevz force-pushed the matevz/feature/account-show-json branch 2 times, most recently from 911b53c to 1d0ac28 Compare January 20, 2026 09:34
@matevz matevz force-pushed the matevz/feature/account-show-json branch from 1d0ac28 to caa5bd3 Compare January 20, 2026 09:43
@matevz matevz changed the title Add JSON format for oasis account show Add JSON format for account show and rofl machine show Jan 20, 2026
cobra.CheckErr("Machine instance not found.\nTip: This often happens when instances expire. Run `oasis rofl deploy --replace-machine` to rent a new one.")
switch common.OutputFormat() {
case common.FormatJSON:
fmt.Printf("{ \"error\": \"%s\" }\n", err)
Copy link
Member

Choose a reason for hiding this comment

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

cobra.CheckErr in the other case also exits the program, while this one doesn't?

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.

3 participants