clasp icon indicating copy to clipboard operation
clasp copied to clipboard

Allow to push to multiple sources

Open kospl opened this issue 3 years ago • 2 comments

Feature request

We have dev project and live addon project.

The code source is same.

We need an option to push somehow to dev project while developing, but there is no clasp push option to change destination.

Possible API (pseudocode): clasp push --destination_clasp_config=.devproject.clasp.json

kospl avatar Dec 08 '21 06:12 kospl

Hello @kospl , maybe this command can be useful for you: clasp setting scriptId new-id https://github.com/google/clasp#setting

Or if you want to push multiple sources together, you can try this library that uses clasp: https://github.com/fantonangeli/multi-clasp2

fantonangeli avatar Dec 14 '21 08:12 fantonangeli

Thanks, I'll try it and post any results here.

kospl avatar Dec 14 '21 15:12 kospl