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() {
1426
1426
cpuprofile := flag .String ("cpuprofile" , "" , "cpuprofile output" )
1427
1427
monitor := flag .Bool ("monitor" , false , "enable serial monitor" )
1428
1428
baudrate := flag .Int ("baudrate" , 115200 , "baudrate of serial monitor" )
1429
+ quiet := flag .Bool ("quiet" , false , "suppress the rpk deploy command output" )
1429
1430
1430
1431
// Internal flags, that are only intended for TinyGo development.
1431
1432
printIR := flag .Bool ("internal-printir" , false , "print LLVM IR" )
@@ -1572,9 +1573,11 @@ func main() {
1572
1573
1573
1574
err := Build (pkgName , outpath , options )
1574
1575
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
+ }
1578
1581
case "build-library" :
1579
1582
// Note: this command is only meant to be used while making a release!
1580
1583
if outpath == "" {
You can’t perform that action at this time.
0 commit comments