Swiftpack.co - g-Off/stringray as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by g-Off.
g-Off/stringray 0.4.0
macOS command line tool for manipulating and validating  strings files
⭐️ 6
🕓 1 year ago
macOS
.package(url: "https://github.com/g-Off/stringray.git", from: "0.4.0")

GitHub

stringray

macOS command line tool for manipulating and validating  strings files

Usage

Sort a table by key:

stringray sort /path/to/base.lproj/Table.strings

Move strings where the keys prefix matches a given string (or strings with multiple -p args passed)

stringray move /path/to/original.lproj/Table.strings /path/to/new.lproj/Table.strings -p cells.title

Rename string keys where the prefix matches a given string (-p arg) with the replacement key prefix string (-r arg)

stringray rename /path/to/original.lproj/Table.strings -p cells.title -r labels.title

Lint a strings table or list the lint rules:

stringray lint -i /path/to/original.lproj/Table.strings
stringray lint -l

Installing

If you have Homebrew installed then the tool is available via brew install g-Off/tools/stringray

Building

Use make to build or make xcode to generate the Xcode project.

GitHub

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

Release Notes

4 years ago

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