Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
22
func
Add(cfg storage) *cobra.Command {
23
return
addCommand(cfg, ui.PromptProfileName, ui.PromptProfileFields)
24
}
25
26
func
addCommand(
27
cfg storage,
Callers
3
TestAdd
Function · 0.85
TestAddRejectsPartialArgs
Function · 0.85
init
Method · 0.85
Calls
1
addCommand
Function · 0.85
Tested by
2
TestAdd
Function · 0.68
TestAddRejectsPartialArgs
Function · 0.68