File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import (
25
25
"github.com/arduino/arduino-cloud-cli/internal/config"
26
26
"github.com/arduino/arduino-cloud-cli/internal/iot"
27
27
"github.com/arduino/arduino-cloud-cli/internal/template"
28
+ "github.com/sirupsen/logrus"
28
29
)
29
30
30
31
// ExtractParams contains the parameters needed to
@@ -70,6 +71,7 @@ func Extract(params *ExtractParams) error {
70
71
params .Outfile = & outfile
71
72
}
72
73
74
+ logrus .Infof ("Extracting template in file: %s" , * params .Outfile )
73
75
err = template .ToFile (templ , * params .Outfile , params .Format )
74
76
if err != nil {
75
77
return fmt .Errorf ("saving template: %w" , err )
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import (
25
25
"github.com/arduino/arduino-cloud-cli/internal/config"
26
26
"github.com/arduino/arduino-cloud-cli/internal/iot"
27
27
"github.com/arduino/arduino-cloud-cli/internal/template"
28
+ "github.com/sirupsen/logrus"
28
29
)
29
30
30
31
// ExtractParams contains the parameters needed to
@@ -70,6 +71,7 @@ func Extract(params *ExtractParams) error {
70
71
params .Outfile = & outfile
71
72
}
72
73
74
+ logrus .Infof ("Extracting template in file: %s" , * params .Outfile )
73
75
err = template .ToFile (templ , * params .Outfile , params .Format )
74
76
if err != nil {
75
77
return fmt .Errorf ("saving template: %w" , err )
You can’t perform that action at this time.
0 commit comments