File tree 1 file changed +15
-0
lines changed
rpc/cc/arduino/cli/commands/v1
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,9 @@ service ArduinoCoreService {
63
63
// Get the version of Arduino CLI in use.
64
64
rpc Version (VersionRequest ) returns (VersionResponse ) {}
65
65
66
+ // Create a new Sketch
67
+ rpc NewSketch (NewSketchRequest ) returns (NewSketchResponse ) {}
68
+
66
69
// Returns all files composing a Sketch
67
70
rpc LoadSketch (LoadSketchRequest ) returns (LoadSketchResponse ) {}
68
71
@@ -267,6 +270,18 @@ message VersionResponse {
267
270
string version = 1 ;
268
271
}
269
272
273
+ message NewSketchRequest {
274
+ // Arduino Core Service instance from the Init response.
275
+ Instance instance = 1 ;
276
+ // New sketch name
277
+ string sketch_name = 2 ;
278
+ }
279
+
280
+ message NewSketchResponse {
281
+ // Absolute path to a main sketch file
282
+ string main_file = 1 ;
283
+ }
284
+
270
285
message LoadSketchRequest {
271
286
// Arduino Core Service instance from the Init response.
272
287
Instance instance = 1 ;
You can’t perform that action at this time.
0 commit comments