Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/swlws/ctr

Use the command line to read large text
https://github.com/swlws/ctr

Last synced: about 1 month ago
JSON representation

Use the command line to read large text

Awesome Lists containing this project

README

        

# cmd text reader

Use the command line to read large text. support:

- UTF-8、GBK
- Memory text list
- Breakpoint Continue Reading

# install

```bash
git clone [email protected]:swlws/ctr.git
cd ctr
npm install
npm link
```

# command line interface

## add one text

> ctr add /root/a.txt

## add one dir

> ctr add /root

## show text list

> ctr list

```bash

ID Name Path
ad41372694dacab9012b9e2178e3ef53 abc.txt /root/abc.txt
c23f22d7034cadb93edfa9062f609979 def.txt /root/def.txt
```

## rm one text

> ctr rm ad41372694dacab9012b9e2178e3ef53

## rm all text

> ctr rm all

## show one text content

> ctr ad41372694dacab9012b9e2178e3ef53

- 上一页:按 u 键
- 下一页:按 d 键、或按回车键