Skip to content

Conversation

@ulziibay-kernel
Copy link
Contributor

@ulziibay-kernel ulziibay-kernel commented Jan 23, 2026

The global options were not respected. With this change, all of the formatting options are respected.

Testing

ulziibay-kernel@debian:~/Workspace/hypeman-cli$ ./hypeman ingress list --format json 
[
  {
    "created_at": "2025-12-12T21:21:14Z",
    "id": "qk522dddwdm1xxghz0zy89ep",
    "name": "my-ingress",
    "rules": [
      {
        "match": {
          "hostname": "my-nginx-app",
          "port": 8081
        },
        "redirect_http": false,
        "target": {
          "instance": "my-app",
          "port": 80
        },
        "tls": false
      }
    ]
  },
  {
    "created_at": "2025-12-11T20:56:32Z",
    "id": "umbbm07jo690jhgofxmdqk8t",
    "name": "chromium-live-view",
    "rules": [
      {
        "match": {
          "hostname": "birthday",
          "port": 9080
        },
        "redirect_http": false,
        "target": {
          "instance": "chromium-headful-test",
          "port": 8080
        },
        "tls": false
      }
    ]
  }
]

Note

Adds support for global output formatting for ingress list, while preserving existing table/quiet modes.

  • Honors root --format and --transform; when format != auto, captures raw response (option.WithResponseBodyInto) and renders via ShowJSON
  • Default behavior unchanged: falls back to structured table or --quiet IDs-only output
  • Imports gjson to parse response for formatted output

Written by Cursor Bugbot for commit c18e93b. This will update automatically on new commits. Configure here.

The global options were not respected. With this change, all of the formatting options are respected.
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@ulziibay-kernel ulziibay-kernel merged commit df157b4 into main Jan 23, 2026
4 checks passed
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