Swiftpack.co - josefdolezal/ignorio as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by josefdolezal.
josefdolezal/ignorio 0.6.0
Gitignore.io command line client written in Swift.
⭐️ 5
🕓 1 year ago
macOS
.package(url: "https://github.com/josefdolezal/ignorio.git", from: "0.6.0")

Ignorio is a pure Swift command line tool helping you create .gitignore file for your project based on templates from gitignore.io.

For basic usage, just run:

$ ignorio create macos xcode swift > .gitignore

This will fetch a .gitignore template for list of given types. The template will be printed to the standard output so be sure to redirect it into your .gitignore.


Ignorio terminal CLI

Install

Brew

The recommended way to install ignorio is with brew package manager:

$ brew install josefdolezal/formulae/ignorio

Or you can add the custom Tap and refer to the app by its name:

$ brew tap josefdolezal/formulae
$ brew install ignorio
From source

If you prefer to build the app from source manually, you can use make:

$ make
$ swift run ignorio <COMMAND>

Usage

Currently, following commands are supported by ignorio.

Generate

Fetches .gitignore template for given list of types.

$ ignorio generate macos xcode swift

List

Prints list of types which may be used to create template.

$ ignorio list

Search

Not sure if your type is supported? The list representation is not so convenient, but you can use search instead!

$ ignorio search swift

Dependencies

Ignorio is build on top of following dependencies:

License

This repository is licensed under MIT.

GitHub

link
Stars: 5
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Version 0.6.0
5 years ago

Changes

  • Updated for Swift 5
  • Removed Result dependency in favour of Result in standard library

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