// Command sheets-contract exports the live delegated operation schemas. package main import ( "amadan.net/oficina/sheets/internal/sheets" "encoding/json" "fmt" "os" ) func main() { operations, err := sheets.AgentContracts() if err != nil { fmt.Fprintln(os.Stderr, "Could not export Sheets operation contracts.") os.Exit(1) } encoder := json.NewEncoder(os.Stdout) encoder.SetIndent("", " ") if encoder.Encode(operations) != nil { os.Exit(1) } }