File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import (
2525 "github.com/arduino/arduino-cloud-cli/internal/config"
2626 "github.com/arduino/arduino-cloud-cli/internal/iot"
2727 "github.com/arduino/arduino-cloud-cli/internal/template"
28+ "github.com/sirupsen/logrus"
2829)
2930
3031// ExtractParams contains the parameters needed to
@@ -70,6 +71,7 @@ func Extract(params *ExtractParams) error {
7071 params .Outfile = & outfile
7172 }
7273
74+ logrus .Infof ("Extracting template in file: %s" , * params .Outfile )
7375 err = template .ToFile (templ , * params .Outfile , params .Format )
7476 if err != nil {
7577 return fmt .Errorf ("saving template: %w" , err )
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import (
2525 "github.com/arduino/arduino-cloud-cli/internal/config"
2626 "github.com/arduino/arduino-cloud-cli/internal/iot"
2727 "github.com/arduino/arduino-cloud-cli/internal/template"
28+ "github.com/sirupsen/logrus"
2829)
2930
3031// ExtractParams contains the parameters needed to
@@ -70,6 +71,7 @@ func Extract(params *ExtractParams) error {
7071 params .Outfile = & outfile
7172 }
7273
74+ logrus .Infof ("Extracting template in file: %s" , * params .Outfile )
7375 err = template .ToFile (templ , * params .Outfile , params .Format )
7476 if err != nil {
7577 return fmt .Errorf ("saving template: %w" , err )
You can’t perform that action at this time.
0 commit comments