【发布时间】:2020-03-23 10:35:26
【问题描述】:
我有三个单独的文件,我想有一个脚本可以在本地文件夹中安装以下文件
包裹物品
https://gitlab.com/darkout/builder/-/raw/master/_data/do-hero-content.yml
https://gitlab.com/darkout/builder/-/raw/master/_includes/do-hero-content.html
https://gitlab.com/darkout/builder/-/raw/master/_sass/modules/do-hero-content.scss
示例代码示例
install do-hero
应将以上三个文件安装在本地以下文件夹中
预期输出:将文件保存在本地以下文件夹中
本地 > /_data/do-hero-content.yml
本地 > /_includes/do-hero-content.html
本地 > /_sass/modules/do-hero-content.scss
有人可以告诉我执行此操作的最佳方法是什么吗?
谢谢 肖万
【问题讨论】:
标签: ruby-on-rails ruby jekyll