Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/swlws/ctr
- Owner: swlws
- Created: 2022-12-20T12:10:05.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-21T02:07:43.000Z (about 2 years ago)
- Last Synced: 2024-11-06T15:52:25.578Z (3 months ago)
- Language: JavaScript
- Size: 211 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 键、或按回车键