MCPcopy Create free account
hub / github.com/dropbox/dbxcli / commandInputPropertyNames

Function commandInputPropertyNames

cmd/help_input_schema.go:117–123  ·  view source on GitHub ↗
(names []string)

Source from the content-addressed store, hash-verified

115}
116
117func commandInputPropertyNames(names []string) []string {
118 result := make([]string, 0, len(names))
119 for _, name := range names {
120 result = append(result, commandInputPropertyName(name))
121 }
122 return sortedCopyStringSlice(result)
123}
124
125func commandInputPropertyName(name string) string {
126 return strings.ReplaceAll(name, "-", "_")

Callers 1

commandInputSchemaForFunction · 0.85

Calls 2

commandInputPropertyNameFunction · 0.85
sortedCopyStringSliceFunction · 0.85

Tested by

no test coverage detected