• 本站招聘各个版块版主共同发展,有意可私聊站长
资源图标

[BS] GitHub Dev Tools 1.1.0

没有下载权限

庆祝国庆中秋本站暂时关闭邀请码注册 https://t.me/tearcc

This add-on adds commands to create a convenient project structure on GitHub. However, you can continue development in standard directories, since the add-on automatically creates a symlink.



xf-addon:github-init {--gitinit} {--gitignore} ADDON_ID PROJECT_NAME - the command will move all files related to the add-on to the $FORUM_ROOT/github/$PROJECT_NAME/upload directory and creates symlinks to the transferred files.



gitinit option executes the "git init" command in $FORUM_ROOT/github/$PROJECT_NAME directory.

* Working only if shell_exec function is available.



gitignore option creates the .gitignore file in $FORUM_ROOT/github/$PROJECT_NAME directory.



Default .gitignore content

_releases

_data

hashes.json

/.idea/

.DS_Store

git.json

.phpstorm.meta.php

_metadata.json


Click to expand...

xf-addon:github-return {--remove|-r} ADDON_ID PROJECT_NAME - returns all transferred files and folders to their directories and removes symlinks.



remove|-r option deletes $FORUM_ROOT/github/$PROJECT_NAME directory.



Project structure example: 021-projects/XF2-ScheduledPosting
作者
无名
下载
0
查看
4
首次发布
最后更新

Ratings

0.00 星 0 星

来自无名的更多资源

后退
顶部