Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ysfscream/node-dirs-cli
📖 Node CLI to get directory’s content
https://github.com/ysfscream/node-dirs-cli
cli dictionary javascript node-cli typescript
Last synced: about 5 hours ago
JSON representation
📖 Node CLI to get directory’s content
- Host: GitHub
- URL: https://github.com/ysfscream/node-dirs-cli
- Owner: ysfscream
- License: mit
- Created: 2019-01-14T06:31:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-11T16:03:06.000Z (almost 6 years ago)
- Last Synced: 2024-09-28T23:38:55.104Z (about 2 months ago)
- Topics: cli, dictionary, javascript, node-cli, typescript
- Language: TypeScript
- Homepage:
- Size: 41 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-dirs-cli
📖 Node CLI to get directory’s content
## Usage
```shell
yarn add node-dirs-cli --devyarn get-dirs
```Details in `get-dirs --help`
```shell
get-dirs -h
get-dirs -p ./ -n data.json -e ./User -f .DS_Store *.jsUsage: get-dirs
config:
--version, -v display version number [Boolean]
--help, -h display help messages [Boolean]
--path, -p the path to get the content
[String] [default: "./"]
--filename, -n export filename [String] [default: "data.json"]
--export, -e the path to export the json
[String] [default: "./"]
--filter, -f exclude filenames or directories
[Arrary] [default: "default]"]
```## Development
```shell
#clone
git clone [email protected]:ysfscream/node-dirs-cli.git# dev
yarn dev# build
yarn build
```