File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1426,6 +1426,7 @@ func main() {
14261426	cpuprofile  :=  flag .String ("cpuprofile" , "" , "cpuprofile output" )
14271427	monitor  :=  flag .Bool ("monitor" , false , "enable serial monitor" )
14281428	baudrate  :=  flag .Int ("baudrate" , 115200 , "baudrate of serial monitor" )
1429+ 	quiet  :=  flag .Bool ("quiet" , false , "suppress the rpk deploy command output" )
14291430
14301431	// Internal flags, that are only intended for TinyGo development. 
14311432	printIR  :=  flag .Bool ("internal-printir" , false , "print LLVM IR" )
@@ -1572,9 +1573,11 @@ func main() {
15721573
15731574		err  :=  Build (pkgName , outpath , options )
15741575		handleCompilerError (err )
1575- 		fmt .Println ("build successful" )
1576- 		fmt .Println ("deploy your transform to a topic:" )
1577- 		fmt .Println ("\t rpk transform deploy" )
1576+ 		if  ! * quiet  {
1577+ 			fmt .Println ("build successful" )
1578+ 			fmt .Println ("deploy your transform to a topic:" )
1579+ 			fmt .Println ("\t rpk transform deploy" )
1580+ 		}
15781581	case  "build-library" :
15791582		// Note: this command is only meant to be used while making a release! 
15801583		if  outpath  ==  ""  {
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments