Skip to content

Conversation

laverya
Copy link
Member

@laverya laverya commented Oct 6, 2025

No description provided.

@laverya
Copy link
Member Author

laverya commented Oct 6, 2025

test output:

./bin/replicated release create --yaml-dir ./temp

  • Reading manifests from ./temp ✓
  • Creating Release ✓
    • SEQUENCE: 4
./bin/replicated release create --yaml-dir ./temp --output=json

{
  "sequence": 5,
  "appId": "2yPm36S98KznOWv4Dz3Aa9E02KJ",
  "charts": [
    {
      "name": "laverya-test-app",
      "version": "0.1.4",
      "status": "unknown"
    },
    {
      "name": "postgresql",
      "version": "16.7.8",
      "status": "unknown"
    }
  ]
}

if r.outputFormat == "json" {
// suppress spinner/log lines for machine-readable output
log.Silence()
r.w = tabwriter.NewWriter(io.Discard, 0, 0, 0, ' ', 0)
Copy link
Member

Choose a reason for hiding this comment

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

what happens if it prompts on line 201?

confirmed, err = promptForConfirm()

Copy link
Member Author

Choose a reason for hiding this comment

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

no output plus invisible spinner
I think I'll remove the zero writer change commit if that's all right? Least bad option barring a major refactor IMO

emosbaugh
emosbaugh previously approved these changes Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants