google / clasp

🔗 Command Line Apps Script Projects
https://developers.google.com/apps-script/guides/clasp
Apache License 2.0
4.59k stars 428 forks source link

Better clasp create #373

Open grant opened 5 years ago

grant commented 5 years ago

Expected Behavior

clasp create
What type of project do you want to create?
x Standalone
- Add-on
- Web App

# Advanced way
clasp create --type standalone
clasp create --type docs-addon
clasp create --type webapp

Use inquirer for checkbox.

https://github.com/google/clasp/issues/63#issuecomment-393396966

Actual Behavior

Web apps and add-ons aren't intuitive to create.

grant commented 5 years ago

Added add-ons here: https://github.com/google/clasp/commit/aef98c590dca35724ac199de06d7de1a47478f3f

Still need webapps and add inquirer radio box.

grant commented 5 years ago

Need clasp create --type webapp to create a project that modifies the manifest.

Manually deploy as web app to see what the manifest needs to look like.