Quick Demo of Omni CLI Tool Features

Nate Agrin · Friday Demos · April 3, 2026 · 4:02

First look at the newly released open source Omni CLI - wrapping and extending the core API. Supports both org-wide access tokens or personal acces tokens.

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Hey, uh I want to do a quick demo of the CLI that I released a couple days ago and talked about internally internally a little bit. So, um the CLI is uh at this URL. So, it's on GitHub. It's open source, uh fully available. Um installing is pretty simple. Uh you can either run this command or install via Go or download directly from GitHub.

  2. Uh the CLI is written in Go, which allows us to compile it into a nice tight binary, so it's very very simple to distribute. Basically, the way it works is it wraps our API and exposes and extends some of the API's capabilities. Uh at the moment, the CLI supports both um org-wide access tokens and personal access tokens.

  3. Okay, so let me dive right into uh the demo. So, like most CLI tools, uh once it's installed, it's available on your command line and you can access its help menu uh to learn a little bit more about what commands are available. Um you can see we've got a sort of list of uh command groups. Underneath each of these are additional commands um and uh these additional commands allow you to, you know, access all the specific API level requests uh that are available.

  4. So, um what can we do with the uh the CLI? Well, let's do some simple things like list our users. Um So, what you can see here is the CLI basically returns machine-readable JSON as a default. Uh this is really nice for when you're writing scripts and you want to, um, you know, parse the output.

  5. Uh, but it also allows it, because we're on the command line, it also allows us to do things like, uh, pipe the output to other commands. In this case, I'm sending it to JQ, which is a JSON parsing command line tool. And we can make a human readable list pretty easily from the list of, uh, users that we have it in our instance.

  6. So, it's not just read only. Um, we can also do things like create labels, if we want to. But, if we now open up playground and refresh the page, we should see here is our new label that we just created. And I should also be able to delete that label. Refresh the page, and the label's gone. So, just like the API supports the full life cycle of create, update, delete, uh, for various resources on your on the instance.

  7. Um, I mentioned that one of the things we can also do is extend the API. So, in this case, I'm creating a branch, uh, that is possible in our API, but to do it requires a little bit of stitching, uh, two different API requests together. In this case, we've abstracted that away and just made it a single CLI command, and you can see it was successful.

  8. So, if we go and find, uh, the model that I just created that on, see there's no branch here because I haven't refreshed the page, but when I refresh, the branch is now available. And, you know, I don't I'm skeptical that Ariel wants me to, uh, leave my unused branches around, so I'll just go ahead and delete that.

  9. And same thing, no surprise here. And branch is gone.