https://github.com/ronffy/out-fileinfo-cli
node-cli 选择指定文件或文件夹,在终端显示文件目录或文件内容
https://github.com/ronffy/out-fileinfo-cli
cli command-line-interface node node-cli
Last synced: about 1 month ago
JSON representation
node-cli 选择指定文件或文件夹,在终端显示文件目录或文件内容
- Host: GitHub
- URL: https://github.com/ronffy/out-fileinfo-cli
- Owner: ronffy
- License: mit
- Created: 2018-08-08T08:28:18.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-08T09:15:53.000Z (almost 8 years ago)
- Last Synced: 2026-04-19T20:10:06.740Z (about 1 month ago)
- Topics: cli, command-line-interface, node, node-cli
- Language: JavaScript
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# out-fileinfo CLI
一个node-cli,功能是:选择指定文件或文件夹,在命令行显示文件目录或文件内容
## How to use
本地安装
```shell
npm install out-fileinfo
#or
yarn add out-fileinfo
```
全局安装
```shell
npm install out-fileinfo -g
#or
yarn add out-fileinfo -g
```
执行
```shell
out-fileinfo
```
在命令行输入`out-fileinfo`命令后,会把当前文件夹内的文件和文件夹信息列出来,
然后根据提示,输入要查看的文件或文件夹名称,然后就可以查看文件内容或文件夹目录信息了
## 注意
- 目前只支持最多两层目录