|  | @@ -17,8 +17,6 @@
 | 
	
		
			
				|  |  |  package compose
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import (
 | 
	
		
			
				|  |  | -	"fmt"
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  	"github.com/compose-spec/compose-go/cli"
 | 
	
		
			
				|  |  |  	"github.com/compose-spec/compose-go/types"
 | 
	
		
			
				|  |  |  	"github.com/spf13/cobra"
 | 
	
	
		
			
				|  | @@ -27,6 +25,9 @@ import (
 | 
	
		
			
				|  |  |  	"github.com/docker/compose-cli/api/context/store"
 | 
	
		
			
				|  |  |  )
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +// Warning is a global warning to be displayed to user on command failure
 | 
	
		
			
				|  |  | +var Warning string
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  type projectOptions struct {
 | 
	
		
			
				|  |  |  	ProjectName string
 | 
	
		
			
				|  |  |  	Profiles    []string
 | 
	
	
		
			
				|  | @@ -99,7 +100,8 @@ func Command(contextType string) *cobra.Command {
 | 
	
		
			
				|  |  |  		TraverseChildren: true,
 | 
	
		
			
				|  |  |  		PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
 | 
	
		
			
				|  |  |  			if contextType == store.DefaultContextType || contextType == store.LocalContextType {
 | 
	
		
			
				|  |  | -				fmt.Println("The new 'docker compose' command is currently experimental. To provide feedback or request new features please open issues at https://github.com/docker/compose-cli")
 | 
	
		
			
				|  |  | +				Warning = "The new 'docker compose' command is currently experimental. " +
 | 
	
		
			
				|  |  | +					"To provide feedback or request new features please open issues at https://github.com/docker/compose-cli"
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  			return nil
 | 
	
		
			
				|  |  |  		},
 |