forked from LaconicNetwork/kompose
added support for docker-compose.yaml besides docker-compose.yml
This commit is contained in:
@@ -74,6 +74,7 @@ var convertCmd = &cobra.Command{
|
||||
|
||||
// Validate before doing anything else. Use "bundle" if passed in.
|
||||
app.ValidateFlags(GlobalBundle, args, cmd, &ConvertOpt)
|
||||
app.ValidateComposeFile(cmd, &ConvertOpt)
|
||||
},
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
|
||||
|
||||
@@ -44,6 +44,9 @@ var downCmd = &cobra.Command{
|
||||
Provider: strings.ToLower(GlobalProvider),
|
||||
EmptyVols: DownEmptyVols,
|
||||
}
|
||||
|
||||
// Validate before doing anything else.
|
||||
app.ValidateComposeFile(cmd, &DownOpt)
|
||||
},
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
app.Down(DownOpt)
|
||||
|
||||
Reference in New Issue
Block a user