本文介绍了发布Google Apps脚本库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我创建了我认为对Google非常酷且有用的图书馆应用程序脚本。



。但这仅仅是针对谷歌手动选择的图书馆。



所以我的问题在这里:

什么时候应该将我的脚本作为模板发布,而不是将其发布为库?他们看起来有点重叠。



其他人如何分享他们的图书馆? Google是否规划了某种目录?

解决方案

现有的Apps脚本库(发布>发布到图库)带有用户的脚本,应该完全构建并准备运行。目前还没有官方的图书馆,这是针对其他剧本开发者的。目前,您可以创建一个有用的脚本来使用您的库,并发布脚本库以获得可见性。

I'm a little bit confused about how the new libraries are supposed to be published.

I create what I think is a very cool and useful library for Google Apps Scripts.

google_api_client

But I don't know where I can publish this so others can enjoy and provide some feedback. I notice that I can publish my script as a template but I believe this will allow others to import my script and edit as they want, but if there are updates they would need to import my code once again.

the new library feature on the other hand require that the users find out about your application Id to import it on their projects.

As of today the only place where libraries are listed is the "Notable Script Libraries" on the Google Developers site. But it's just for hand selected libraries from Google.

So my questions here are:

When should I publish my script as a template instead of publishing it as a library? They seem a little bit overlapping for me.

How are other people sharing their libraries? Is Google planning some kind of directory?

解决方案

The existing Apps Script Gallery (Publish > Publish to Gallery) was created to share useful scripts with users, which should be fully built and ready to run. There is currently no official gallery for libraries, which are targeted at other script developers. For the time being you could create a useful script that uses your library, and publish that the Script Gallery in order to gain visibility.

这篇关于发布Google Apps脚本库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 12:18