MCPcopy
hub / github.com/danielgtaylor/huma / Run

Method Run

humacli/humacli.go:35–35  ·  view source on GitHub ↗

Run the CLI. This will parse the command-line arguments and environment variables and then run the appropriate command. If no command is given, the default command will call the `OnStart` function to start a server.

()

Source from the content-addressed store, hash-verified

33 // variables and then run the appropriate command. If no command is given,
34 // the default command will call the `OnStart` function to start a server.
35 Run()
36
37 // Root returns the root Cobra command. This can be used to add additional
38 // commands or flags. Customize it however you like.

Callers 15

TestSchemaFunction · 0.65
BenchmarkPathBufferFunction · 0.65
TestDocsRenderersFunction · 0.65
TestFeaturesFunction · 0.65
TestOpenAPIFunction · 0.65
TestBodyRaceFunction · 0.65
BenchmarkHandlerFuncFunction · 0.65
TestValidateFunction · 0.65
BenchmarkValidateFunction · 0.65

Calls

no outgoing calls

Tested by 15

TestSchemaFunction · 0.52
BenchmarkPathBufferFunction · 0.52
TestDocsRenderersFunction · 0.52
TestFeaturesFunction · 0.52
TestOpenAPIFunction · 0.52
TestBodyRaceFunction · 0.52
BenchmarkHandlerFuncFunction · 0.52
TestValidateFunction · 0.52
BenchmarkValidateFunction · 0.52