Files
larksuite__cli/shortcuts/sheets/flag_schemas_gen.go
2026-08-25 17:29:32 +08:00

43 lines
1.5 KiB
Go

// Copyright (c) 2026 Lark Technologies Pte. Ltd.
// SPDX-License-Identifier: MIT
// Code generated from data/flag-schemas.json; DO NOT EDIT.
package sheets
// commandsWithSchema is the set of shortcut commands that have at least one
// introspectable composite flag in data/flag-schemas.json. Codegen'd so the
// registration loop (shortcuts.go) and the validate fast-path can gate on it
// without parsing the 256KB schema blob at startup (that parse used to run on
// every CLI invocation, sheets or not). The 256KB is now only unmarshaled
// on --print-schema or when validating a command that is in this set. Do not
// hand-edit; regenerate with `go generate ./shortcuts/sheets/...`.
var commandsWithSchema = map[string]struct{}{
"+batch-chart-create": {},
"+batch-chart-update": {},
"+batch-update": {},
"+cells-batch-set-style": {},
"+cells-set": {},
"+cells-set-style": {},
"+chart-create": {},
"+chart-update": {},
"+cols-resize": {},
"+cond-format-create": {},
"+cond-format-update": {},
"+dropdown-set": {},
"+dropdown-update": {},
"+filter-create": {},
"+filter-update": {},
"+filter-view-create": {},
"+filter-view-update": {},
"+pivot-create": {},
"+pivot-update": {},
"+range-sort": {},
"+rows-resize": {},
"+sparkline-create": {},
"+sparkline-update": {},
"+styles-put": {},
"+table-put": {},
"+workbook-create": {},
}