https://github.com/fromkk/templates
Convert templates with user settings.
https://github.com/fromkk/templates
cli cli-app macos macos-app macos-swift osx swift swift4 swift4-2
Last synced: about 1 month ago
JSON representation
Convert templates with user settings.
- Host: GitHub
- URL: https://github.com/fromkk/templates
- Owner: fromkk
- License: mit
- Created: 2019-01-10T01:56:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-10T10:46:48.000Z (over 7 years ago)
- Last Synced: 2025-02-03T14:27:16.943Z (over 1 year ago)
- Topics: cli, cli-app, macos, macos-app, macos-swift, osx, swift, swift4, swift4-2
- Language: Swift
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Templates
[](https://twitter.com/fromkk)
[](https://developer.apple.com/swift/)

[](https://raw.githubusercontent.com/fromkk/Templates/master/LICENSE.md)
## What
CLI tool for replace keywods of multi files.
## Install
```sh
git clone git@github.com:fromkk/Templates.git
cd ./Templates
make install
```
## Usage
```sh
# Configure
Usage: templates set --key ${KEY} --value ${VALUE}
Options:
--key Key string
--value Value string
# Remove key
Usage: templates remove --key ${KEY}
Options:
--key Key string
# Show
Usage: templates show --key ${KEY}
Options:
--key Key string(optional)
# Convert
Usage: templates convert --source ${TEMPLATE_DIR} --output ${OUTPUT_DIR} --prefix ${PREFIX}
Options:
--source Templates directory
--output Output directory
--prefix Prefix string
```