GitHub - gumlet/cli: Command line interface for Gumlet

GitHub

2 min read Original article ↗

Manage Gumlet video workspaces, assets, playlists, live streams, channel viewers, image sources, and cache purges from your terminal.

Install

Homebrew (macOS, Linux):

brew install --cask gumlet/tap/gumlet

Shell script (macOS, Linux):

curl -fsSL https://cli.gumlet.com/install.sh | sh

Optional environment variables: GUMLET_VERSION (e.g. 1.0.1) and GUMLET_INSTALL_DIR (defaults to /usr/local/bin when writable, otherwise ~/.local/bin).

Windows (PowerShell, WinGet, or Scoop):

# PowerShell
irm https://cli.gumlet.com/install.ps1 | iex

# WinGet
winget install Gumlet.CLI

# Scoop
scoop bucket add gumlet https://github.com/gumlet/scoop-bucket
scoop install gumlet/gumlet

npm (macOS, Linux, Windows):

npm install -g @gumlet/cli

Debian / Ubuntu (.deb) & RHEL / Fedora (.rpm): Download the package for your architecture (amd64 or arm64) from GitHub Releases and install with sudo dpkg -i gumlet_*.deb or sudo rpm -i gumlet_*.rpm.

Manual download: Download the archive for your OS/architecture (x86_64 or arm64 for macOS, Linux, or Windows) from GitHub Releases, verify against checksums.txt, and place gumlet on your PATH.

Verify with gumlet --version.

Authenticate

Sign in with your Gumlet account in the browser (OAuth 2.0):

OAuth tokens are stored in ~/.gumlet.yaml (0600 permissions) and refreshed automatically. Run gumlet logout to revoke and remove saved credentials.

For CI or non-interactive environments, create an API key in Gumlet API Keys and set GUMLET_API_KEY (takes precedence over saved OAuth credentials).

Quickstart

# List workspaces and image sources
gumlet video workspace list -o table
gumlet image source list -o table

# Upload a video and check its status
gumlet video asset upload --workspace-id WORKSPACE_ID --file ./intro.mp4 --title "Introduction"
gumlet video asset get --asset-id ASSET_ID -o table

# Purge cached images
gumlet image purge --source-id SOURCE_ID --urls "/photo.jpg,/banner.png"

See COMMANDS.md for the full command reference (all subcommands, flags, arguments, validation rules, and examples), or run gumlet <command> --help.

Output & Scripting

  • API commands default to --output json (-o json) with raw API fields and pagination cursors.
  • Pass -o table for concise human-readable tables, and --no-color to disable styling.
  • Progress and errors go to stderr; command errors exit nonzero.

AI Agent Skills

Agent skills for Gumlet CLI workflows live in skills and on skills.sh:

npx skills add https://github.com/gumlet/cli --skill gumlet-video-asset

Development

go run . --help
go test ./...
go vet ./...

Integration tests run against local mock servers and do not require an API key. For npm installer tests (Node.js 26):

npm --prefix npm ci --ignore-scripts
npm --prefix npm test

License

Apache 2.0 © Gumlet Pte. Ltd.