You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added 'source override' feature to compile command.
This feature allows to selectively "override" the content of a sketch.
Overridden files will not be read from disk as usual but fetched directly
from gRPC paramaters (if the cli is running as daemon) or from a .json
file containing the new source code (if running from command line).
// This must be done because the value is set when the binding is accessed from viper. Accessing from cobra would only
101
103
// read the value if the flag is set explicitly by the user.
102
104
command.Flags().BoolP("export-binaries", "e", false, "If set built binaries will be exported to the sketch folder.")
105
+
command.Flags().StringVar(&sourceOverrides, "source-override", "", "Optional. Path to a .json file that contains a set of replacements of the sketch source code.")
0 commit comments