Skip to content

Q: how to create a new sketch via gRPC? #1456

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4ntoine opened this issue Sep 16, 2021 · 1 comment
Closed

Q: how to create a new sketch via gRPC? #1456

4ntoine opened this issue Sep 16, 2021 · 1 comment
Labels
type: enhancement Proposed improvement

Comments

@4ntoine
Copy link
Contributor

4ntoine commented Sep 16, 2021

Bug Report

Current behavior

No CreateSketch method in commands.proto, but there are LoadSketch and ArchiveSketch.

This is available with cmd arduino-cli sketch new ... so i guess it should be available via gRPC too.

Expected behavior

CreateSketch method in commands.proto.

Environment

  • CLI version (output of arduino-cli version): 0.19.0
  • OS and platform:

Additional context

@4ntoine 4ntoine changed the title Q: how to create a new sketch? Q: how to create a new sketch via gRPC? Sep 16, 2021
@silvanocerza silvanocerza added the type: enhancement Proposed improvement label Sep 20, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 6, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 6, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 6, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 6, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 6, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 6, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 6, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 11, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 12, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 12, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 12, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 12, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 12, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 12, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 13, 2021
…e "user" dir for sketches created via gRPC
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 13, 2021
…e "user" dir for sketches created via gRPC
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 14, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 14, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 14, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 14, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 14, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 14, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 14, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 14, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 14, 2021
4ntoine added a commit to 4ntoine/arduino-cli that referenced this issue Oct 14, 2021
silvanocerza added a commit that referenced this issue Oct 15, 2021
* #1456 - Add "new sketch" in gRPC .proto, regenerate .pg.go. Use "user" dir for sketches created via gRPC

* #1456 - Avoid using hardcoded extension (address comment).

* #1456 - Add optional dir field in the request, use it.

* #1456 - Use go-paths-helper

* Use gRPC function from CLI to create new sketch

Co-authored-by: Silvano Cerza <[email protected]>
@silvanocerza
Copy link
Contributor

Solved by #1498.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

2 participants