github.com/joey-fossa/fossa-cli@v0.7.34-0.20190708193710-569f1e8679f0/buildtools/cocoapods/cocoapods.go (about) 1 package cocoapods 2 3 import ( 4 "github.com/fossas/fossa-cli/exec" 5 ) 6 7 type Cocoapods struct { 8 Bin string 9 } 10 11 func (c *Cocoapods) Install(dir string) error { 12 _, _, err := exec.Run(exec.Cmd{ 13 Name: c.Bin, 14 Argv: []string{"install"}, 15 Dir: dir, 16 }) 17 return err 18 }