https://github.com/vknabel/stencilarrow
Render Stencil-Templates with contents of your Archerfile
https://github.com/vknabel/stencilarrow
archery arrow cli hacktoberfest swift swift-package-manager
Last synced: 11 months ago
JSON representation
Render Stencil-Templates with contents of your Archerfile
- Host: GitHub
- URL: https://github.com/vknabel/stencilarrow
- Owner: vknabel
- License: mit
- Created: 2018-01-06T18:09:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-08-23T21:40:09.000Z (almost 3 years ago)
- Last Synced: 2025-01-19T03:26:24.822Z (over 1 year ago)
- Topics: archery, arrow, cli, hacktoberfest, swift, swift-package-manager
- Language: Swift
- Homepage: https://vknabel.github.io/StencilArrow/
- Size: 340 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 🏹 Stencil Arrow
Generate files out of your Archerfile (like this one).
For more information about Archery itself head to [vknabel/Archery](https://github.com/vknabel/Archery).
Render [Stencil](https://github.com/kylef/Stencil)-Templates with contents of your Archerfile.
```json
{
"scripts": {
"readme": {
"arrow": "vknabel/StencilArrow",
"template": "README.md.stencil",
"destination": "README.md",
"searchPaths": ["Scripts"]
}
}
}
```
This will insert your metadata into your template and write its contents to `README.md`.
## Available Options
| Name | Type | Default |
|------|------|---------|
| template | `String` | Required |
| destination | `String?` | Print to stdout |
| metadataName | `String?` | Globally available. Contains the Archerfile |
| argumentsName | `String?` | `arguments` contains all command line args |
| searchPaths | `[String]?` | `["."]` search on current directory |
## Contributors
* Valentin Knabel, [@vknabel](https://github.com/vknabel), dev@vknabel.com, [@vknabel](https://twitter.com/vknabel) on Twitter
## License
Archery is available under the [MIT](https://github.com/vknabel/archery/master/LICENSE) license.