Swiftpack.co - faberNovel/xcresource-cli as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by faberNovel.
faberNovel/xcresource-cli 0.1.4
A Xcode resources CLI
⭐️ 54
🕓 2 years ago
macOS
.package(url: "https://github.com/faberNovel/xcresource-cli.git", from: "0.1.4")

xcresource

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.

Contributing

To test

make install

GitHub

link
Stars: 54
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

0.1.4
2 years ago

Fixed

  • Fixed git URL encoding

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics