github.com/willmadison/cli@v6.40.1-0.20181018160101-29d5937903ff+incompatible/command/flag/buildpack.go (about)

     1  package flag
     2  
     3  import (
     4  	"code.cloudfoundry.org/cli/types"
     5  )
     6  
     7  type Buildpack struct {
     8  	types.FilteredString
     9  }
    10  
    11  func (b *Buildpack) UnmarshalFlag(val string) error {
    12  	b.ParseValue(val)
    13  	return nil
    14  }