A Xcode resource manager. Use it to download Xcode templates or snippets from git repositories.
Requirements
Swift 5.2
Xcode 11.4 or later
macOS 10.5
Installation
Homebrew
Run the following command to install using Homebrew:
$ brew install fabernovel/formulae/xcresource
(this will also install the cmake dependency)
To uninstall it:
$ brew uninstall xcresource
Manually
Run the following commands to build and install manually:
$ git clone https://github.com/faberNovel/xcresource-cli
$ cd xcresource-cli
$ make install
Usage
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.
xcresource template
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.
Running xcresource template install installs the Fabernovel templates under the FABERNOVEL namespace.
xctemplate snippet
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.
Running xcresource snippet install installs the Fabernovel snippets under the FABERNOVEL namespace.
xcresource
A Xcode resource manager. Use it to download Xcode templates or snippets from git repositories.
Requirements
Installation
Homebrew
Run the following command to install using Homebrew:
(this will also install the
cmake
dependency)To uninstall it:
Manually
Run the following commands to build and install manually:
Usage
xcresource template
Running
xcresource template install
installs the Fabernovel templates under theFABERNOVEL
namespace.xctemplate snippet
Running
xcresource snippet install
installs the Fabernovel snippets under the FABERNOVEL namespace.Contributing
To test