zeroshade commented on code in PR #301:
URL: https://github.com/apache/iceberg-go/pull/301#discussion_r1956952796


##########
README.md:
##########
@@ -82,6 +82,42 @@ $ cd iceberg-go/cmd/iceberg && go build .
 * Plan to add [Apache Arrow](https://pkg.go.dev/github.com/apache/arrow-go/) 
support eventually.
 * Data can currently be read as an Arrow Table or as a stream of Arrow record 
batches.
 
+
+### CLI Usage
+The `iceberg` CLI usage is very similar to [pyiceberg 
CLI](https://py.iceberg.apache.org/cli/) \
+You can pass the catalog URI with `--uri` argument.
+
+Example:
+You can start the Iceberg REST API docker image which runs on default in port 
`8181`
+```
+docker pull tabulario/iceberg-rest:latest
+docker run -p 8181:8181 tabulario/iceberg-rest:latest
+```
+and run the `iceberg` CLI pointing to the REST API server.
+
+```
+ ./iceberg --uri http://0.0.0.0:8181 list

Review Comment:
   You should probably include the `go build cmd/iceberg` command in the README 
so they know to build it and make the CLI available



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to