new-api-build-first-command

command
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2026 License: MIT Imports: 14 Imported by: 0

README

New API: Build First Command

This example is a minimal, runnable counterpart to the “Build Your First Glazed Command” tutorial, using the newer façade packages:

  • pkg/cmds/schema
  • pkg/cmds/fields
  • pkg/cmds/values

Run:

go run ./cmd/examples/new-api-build-first-command list-users --limit 3
go run ./cmd/examples/new-api-build-first-command list-users --limit 3 --output json
go run ./cmd/examples/new-api-build-first-command list-users --name-filter engineering --fields id,name,department

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL