MCPcopy Index your code
hub / github.com/devopsctl/gitlabctl / printYAML

Function printYAML

cmd/helpers.go:141–147  ·  view source on GitHub ↗
(v interface{})

Source from the content-addressed store, hash-verified

139}
140
141func printYAML(v interface{}) {
142 b, err := yaml.Marshal(v)
143 if err != nil {
144 er(fmt.Sprintf("failed printing to yaml: %v", err))
145 }
146 fmt.Println(string(b))
147}
148
149func printTable(header []string, rows [][]string) {
150 if len(header) > 5 {

Callers 10

printGroupsOutFunction · 0.85
printProjectsOutFunction · 0.85
printGroupMembersOutFunction · 0.85
printProjectMembersOutFunction · 0.85
printUsersOutFunction · 0.85
printProjectHooksOutFunction · 0.85
printSSHKeysOutFunction · 0.85
printBranchOutFunction · 0.85
printTagsOutFunction · 0.85
printReleasesOutFunction · 0.85

Calls 1

erFunction · 0.85

Tested by

no test coverage detected