Re: [PR] Implement json output format [iceberg-go]

2025-05-02 Thread via GitHub
okhomin commented on code in PR #413: URL: https://github.com/apache/iceberg-go/pull/413#discussion_r2071840847 ## cmd/iceberg/output.go: ## @@ -203,18 +204,153 @@ func (text) Schema(schema *iceberg.Schema) { pterm.DefaultTree.WithRoot(schemaTreeNode).Render() } -func

Re: [PR] Implement json output format [iceberg-go]

2025-05-02 Thread via GitHub
zeroshade commented on code in PR #413: URL: https://github.com/apache/iceberg-go/pull/413#discussion_r2071739490 ## cmd/iceberg/output.go: ## @@ -203,18 +204,153 @@ func (text) Schema(schema *iceberg.Schema) { pterm.DefaultTree.WithRoot(schemaTreeNode).Render() } -fu

Re: [PR] Implement json output format [iceberg-go]

2025-05-02 Thread via GitHub
zeroshade commented on code in PR #413: URL: https://github.com/apache/iceberg-go/pull/413#discussion_r2071737433 ## cmd/iceberg/output.go: ## @@ -203,18 +204,153 @@ func (text) Schema(schema *iceberg.Schema) { pterm.DefaultTree.WithRoot(schemaTreeNode).Render() } -fu

Re: [PR] Implement json output format [iceberg-go]

2025-05-02 Thread via GitHub
zeroshade commented on code in PR #413: URL: https://github.com/apache/iceberg-go/pull/413#discussion_r2071734633 ## cmd/iceberg/output.go: ## @@ -203,18 +204,153 @@ func (text) Schema(schema *iceberg.Schema) { pterm.DefaultTree.WithRoot(schemaTreeNode).Render() } -fu

[PR] Implement json output format [iceberg-go]

2025-05-01 Thread via GitHub
okhomin opened a new pull request, #413: URL: https://github.com/apache/iceberg-go/pull/413 implements #325 ### Summary: Implement `json` output format for the CLI tool. ### Changes: * Implement `jsonOutput` type * Rename `text` to `textOutput` ### Example: `