MCPcopy Create free account
hub / github.com/dotzero/git-profile / Add

Function Add

cmd/add.go:22–24  ·  view source on GitHub ↗

Add returns `add` command

(cfg storage)

Source from the content-addressed store, hash-verified

20
21// Add returns `add` command
22func Add(cfg storage) *cobra.Command {
23 return addCommand(cfg, ui.PromptProfileName, ui.PromptProfileFields)
24}
25
26func addCommand(
27 cfg storage,

Callers 3

TestAddFunction · 0.85
initMethod · 0.85

Calls 1

addCommandFunction · 0.85

Tested by 2

TestAddFunction · 0.68