MCPcopy Index your code
hub / github.com/dagger/dagger / Name

Method Name

cmd/dagger/shell_commands.go:52–59  ·  view source on GitHub ↗

Name is the command name.

()

Source from the content-addressed store, hash-verified

50
51// Name is the command name.
52func (c *ShellCommand) Name() string {
53 name := c.Use
54 i := strings.Index(name, " ")
55 if i >= 0 {
56 name = name[:i]
57 }
58 return name
59}
60
61// Short is the summary for the command
62func (c *ShellCommand) Short() string {

Callers 1

ExecuteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected