Esempio n. 1
0
// populate updates the specified ecs context based on command line arguments and subcommands.
func populate(ecsContext *ecscompose.Context, cliContext *cli.Context) {
	// TODO: Support multiple compose files
	ecsContext.ComposeFiles = []string{cliContext.GlobalString(composeFileNameFlag)}
	ecsContext.ProjectName = cliContext.GlobalString(ecscompose.ProjectNameFlag)
}
Esempio n. 2
0
// populate updates the specified ecs context based on command line arguments and subcommands.
func populate(ecsContext *ecscompose.Context, cliContext *cli.Context) {
	ecsContext.ComposeFile = cliContext.GlobalString(composeFileNameFlag)
	ecsContext.ProjectName = cliContext.GlobalString(projectNameFlag)
}