Clasp create add-on templates
See original GitHub issueCreate Apps Script projects with templates
Clasp should make it easy to use our Apps Script templates. What if you could select a template when creating a clasp project?
Expected Behavior
clasp create
lists template options in which you can choose from different templates, i.e.
Actual Behavior
clasp create
creates an empty Apps Script project. Not super useful.
Thoughts @erickoledadevrel?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Command Line Interface using clasp | Apps Script
clasp lets you to develop your Apps Script projects locally. ... Create, update, and view your multiple deployments of your project.
Read more >google/clasp: Command Line Apps Script Projects - GitHub
Develop Locally: clasp allows you to develop your Apps Script projects locally. That means you can check-in your code into source control, collaborate...
Read more >CLASP Tutorial - Google Apps Script - How to Install CLASP
Learn how to setup CLASP to work with Google Apps Script projects locally. For more on this topic & help with installation check...
Read more >clasp - The Apps Script CLI - Google Codelabs
The Apps Script CLI, or clasp , is a tool that lets you to create, edit, and deploy Apps Script projects locally. It...
Read more >Google Apps Script Tips to build Add-ons | Railsware Blog
Note: You need to create a copy of the add-on in order for the Google store to treat it as a separate app....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Noted. We’ll have to create a list of toolchains that we’d like to inter-op with. As with this original issue, it seems like you’d be more interested in a generic solution than a specialize set of templates.
In the npm ecosystem, given toolchains change every year, it’s generally good practice to make lightweight, generic package that can hook into anything. Maybe just better inter-op with npm would be a good first step.
The templates in the UI are focussed around use cases (docs add-ons, sheets add-on, etc). I’m more interested in templates around tool chains. For example, I’d love a template project that already has a way to bundle JavaScript libraries from NPM into the HTML files that Apps Script supports.