CLHN
所属分类:collect
开发工具:Elixir
文件大小:0KB
下载次数:0
上传日期:2021-04-28 03:59:26
上 传 者:
sh-1993
说明: 命令行应用程序查看黑客新闻故事,
(Command Line application to see Hacker News stories,)
文件列表:
LICENSE.md (1072, 2021-04-27)
assets/ (0, 2021-04-27)
assets/screenshot.png (125860, 2021-04-27)
config/ (0, 2021-04-27)
config/config.exs (1147, 2021-04-27)
hn (5594975, 2021-04-27)
lib/ (0, 2021-04-27)
lib/clhn.ex (331, 2021-04-27)
lib/clhn/ (0, 2021-04-27)
lib/clhn/api.ex (1864, 2021-04-27)
lib/clhn/cli.ex (921, 2021-04-27)
lib/clhn/formatter.ex (454, 2021-04-27)
lib/clhn/utils.ex (612, 2021-04-27)
mix.exs (866, 2021-04-27)
mix.lock (1613, 2021-04-27)
test/ (0, 2021-04-27)
test/clhn_test.exs (110, 2021-04-27)
test/test_helper.exs (15, 2021-04-27)
# CLHN
CLHN is an elegant elixir command line application that allows you to glance at Hacker News.
![screenshot](https://github.com/nichochar/CLHN/blob/master/assets/screenshot.png)
## Usage
```
./hn [best | new | top] [count | 10]
```
## Installation
Assuming you have [elixir](https://github.com/nichochar/CLHN/blob/master/http://elixir-lang.org/install.html):
```bash
git clone https://github.com/nichochar/CLHN.git
cd CLHN
mix deps.get
mix escript.build
```
This will output an executable erlang script hn.sh in the root directory:
```bash
./hn top 5
```
近期下载者:
相关文件:
收藏者: