Skip to content

Allow customizing the new sketch template #2239

Open
@gsingh93

Description

@gsingh93

Describe the request

The Arduino IDE allows customizing the default ino file with the arduino.sketch.inoBlueprint as mentioned here. It would be nice to have an equivalent version in arduino-cli when running arduino-cli sketch new. It may also be worth considering an option for a template sketch directory instead of just a template ino file.

Describe the current behavior

When running arduino-cli sketch new <project>, the same ino file with an empty setup and loop is created every time.

Arduino CLI version

arduino-cli Version: 0.33.1 Commit: 347bfeb Date: 2023-06-30T15:32:47Z

Operating system

macOS

Operating system version

13.4.1

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
    I verified the feature was still missing when using the nightly build
    My request contains all necessary details

Activity

changed the title [-]Allow customizing the new project template[/-] [+]Allow customizing the new sketch template[/+] on Jul 5, 2023
umbynos

umbynos commented on Jul 10, 2023

@umbynos
Contributor

Hello @gsingh93, thanks for the interest in the project.
The link you provided is not working. Could you please elaborate a bit?

self-assigned this
on Jul 10, 2023
gsingh93

gsingh93 commented on Jul 10, 2023

@gsingh93
Author
assigned and unassigned on Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

topic: codeRelated to content of the project itselftype: enhancementProposed improvement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @cmaglie@gsingh93@per1234@umbynos

    Issue actions

      Allow customizing the new sketch template · Issue #2239 · arduino/arduino-cli