MCPcopy
hub / github.com/larksuite/cli / baseCreateFirstTableName

Function baseCreateFirstTableName

shortcuts/base/base_ops.go:223–228  ·  view source on GitHub ↗
(runtime *common.RuntimeContext)

Source from the content-addressed store, hash-verified

221}
222
223func baseCreateFirstTableName(runtime *common.RuntimeContext) string {
224 if name := strings.TrimSpace(runtime.Str("table-name")); name != "" {
225 return name
226 }
227 return "Table 1"
228}
229
230func findCreatedBaseDefaultTableID(runtime *common.RuntimeContext, baseToken string, base map[string]interface{}, flag string) (string, error) {
231 if tableIDValue := tableIDFromCreateBaseResponse(base); tableIDValue != "" {

Callers 3

dryRunBaseCreateFunction · 0.85
replaceBaseDefaultTableFunction · 0.85
renameBaseDefaultTableFunction · 0.85

Calls 1

StrMethod · 0.65

Tested by

no test coverage detected