github.com/r3labs/libcompose@v0.4.1-0.20171123133234-495fe0619cc3/cli/app/types.go (about)

     1  package app
     2  
     3  import (
     4  	"github.com/r3labs/libcompose/project"
     5  	"github.com/urfave/cli"
     6  )
     7  
     8  // ProjectFactory is an interface that helps creating libcompose project.
     9  type ProjectFactory interface {
    10  	// Create creates a libcompose project from the command line options (urfave cli context).
    11  	Create(c *cli.Context) (project.APIProject, error)
    12  }