code: func BuildCommand(factory app.ProjectFactory) cli.Command {
  	return cli.Command{
  		Name:   "build",
  		Usage:  "Build or rebuild services.",
  		Action: app.WithProject(factory, app.ProjectBuild),
  		Flags: []cli.Flag{
  			cli.BoolFlag{
  				Name:  "no-cache",
  				Usage: "Do not use cache when building the image",
  			},
  			cli.BoolFlag{
  				Name:  "force-rm",
  				Usage: "Always remove intermediate containers",
  			},
  			cli.BoolFlag{
  				Name:  "pull",
  				Usage: "Always attempt to pull a newer version of the image",
  			},
  		},
  	}
  }
docs: // BuildCommand defines the libcompose build subcommand.