一个 Xcode 资源管理器。使用它可以从 Git 仓库下载 Xcode 模板或代码片段。
运行以下命令,使用 Homebrew 进行安装
$ brew install fabernovel/formulae/xcresource
(这也会安装 cmake
依赖项)
要卸载它
$ brew uninstall xcresource
运行以下命令手动构建和安装
$ git clone https://github.com/faberNovel/xcresource-cli
$ cd xcresource-cli
$ make install
OVERVIEW: A Swift command-line tool to manage Xcode resources.
USAGE: xcresource <subcommand>
OPTIONS:
-h, --help Show help information.
SUBCOMMANDS:
template A command to manage Xcode templates.
snippet A command to manage Xcode snippets.
OVERVIEW: A Swift command-line tool to manage Xcode templates.
USAGE: xcresource template <subcommand>
OPTIONS:
-h, --help Show help information.
SUBCOMMANDS:
install Install Xcode templates from a git repository.
remove Remove Xcode templates.
list List Xcode templates.
open Open Xcode templates folder.
运行 xcresource template install
将 Fabernovel 模板 安装在 FABERNOVEL
命名空间下。
OVERVIEW: A Swift command-line tool to manage Xcode snippets.
USAGE: xcresource snippet <subcommand>
OPTIONS:
-h, --help Show help information.
SUBCOMMANDS:
install Install Xcode snippets from a git repository.
remove Remove Xcode snippet.
list List Xcode snippet.
open Open Xcode snippets folder.
运行 xcresource snippet install
将 Fabernovel 代码片段 安装在 FABERNOVEL 命名空间下。
make install