https://github.com/matsubara0507/stack-tpls
collect stack-template that project templates for stack new
https://github.com/matsubara0507/stack-tpls
haskell-application
Last synced: 8 months ago
JSON representation
collect stack-template that project templates for stack new
- Host: GitHub
- URL: https://github.com/matsubara0507/stack-tpls
- Owner: matsubara0507
- License: mit
- Created: 2018-10-09T04:05:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-04-30T14:40:16.000Z (about 4 years ago)
- Last Synced: 2025-02-02T18:47:00.018Z (over 1 year ago)
- Topics: haskell-application
- Language: Haskell
- Size: 164 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# stack-tpls
Collect all [Haskell Stack](https://docs.haskellstack.org) template files.
But, I implemented to collect from only GitHub yet.
## Requirement
## Install
```
$ git clone https://github.com/matsubara0507/stack-tpls.git
$ stack install
```
## Usage
Pease set GitHub Personal Token (can use `.env`, `~/.env`):
```
GH_TOKEN=xxx
```
show all stack-templates (in GitHub):
```
$ stack-tpls --list
github:commercialhaskell/chrisdone.hsfiles
github:commercialhaskell/foundation.hsfiles
github:commercialhaskell/franklinchen.hsfiles
github:commercialhaskell/ghcjs-old-base.hsfiles
.
.
.
```
this list is saved local cache.
if update local cache, exec `stack-tpls --list --update`.
show any hsfiles:
```
$ stack-tpls github:commercialhaskell/rio.hsfiles
{-# START_FILE .gitignore #-}
*.cabal
*~
.
.
.
```
or show any link of hsfiles:
```
$ stack-tpls --link github:commercialhaskell/rio.hsfiles
https://github.com/commercialhaskell/stack-templates/blob/master/rio.hsfiles
```