MCPcopy Index your code
hub / github.com/coder/coder / usage

Function usage

scripts/typegen/main.go:42–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40var countriesTemplate string
41
42func usage() {
43 _, _ = fmt.Println("Usage: typegen <type> [template]")
44 _, _ = fmt.Println("Types:")
45 _, _ = fmt.Println(" rbac <object|codersdk|typescript> - Generate RBAC related files")
46 _, _ = fmt.Println(" countries - Generate countries TypeScript")
47}
48
49// main will generate a file based on the type and template specified.
50// This is to provide an "AllResources" function that is always

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected