# cli-ls

> A simple version of the ls command to replace window's dir command

Latest version **0.1.2** (published 2017-02-11) · WTFPL license · 0 weekly downloads

## Install

```sh
npm install cli-ls
pnpm add cli-ls
yarn add cli-ls
bun add cli-ls
```

Provides the command `ls`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2017-02-11 |
| First published | 2017-02-08 |
| Weekly downloads | 0 |
| License | WTFPL |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Herwin Bozet |
| Maintainers | herwin |
| Keywords | ls, windows, dir, cli |

## Links

- npm: https://www.npmjs.com/package/cli-ls
- Repository: https://github.com/aziascreations/cli-ls
- Homepage: https://github.com/aziascreations/cli-ls#readme
- Issues: https://github.com/aziascreations/cli-ls/issues
- npm.io page: https://npm.io/package/cli-ls

## Dependencies (9)

- [glob](https://npm.io/package/glob.md) ^7.1.1
- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [winattr](https://npm.io/package/winattr.md) ^2.0.0
- [dateformat](https://npm.io/package/dateformat.md) ^2.0.0
- [text-table](https://npm.io/package/text-table.md) ^0.2.0
- [pretty-bytes](https://npm.io/package/pretty-bytes.md) ^4.0.2
- [supports-color](https://npm.io/package/supports-color.md) ^3.2.3
- [command-line-args](https://npm.io/package/command-line-args.md) ^4.0.1
- [command-line-usage](https://npm.io/package/command-line-usage.md) ^4.0.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.1.2 (latest) — 2017-02-11
- 0.1.1 — 2017-02-11
- 0.1.0 — 2017-02-08

## README

# cli-ls

[![npm-version](https://img.shields.io/npm/v/cli-ls.svg?style=flat-square)](https://www.npmjs.com/package/cli-ls)
[![dependencies-status](https://img.shields.io/david/aziascreations/cli-ls.svg?style=flat-square)](https://david-dm.org/aziascreations/cli-ls#info=dependencies)

A simple version of the ls command to replace window's dir command.

## Important notes

The "program" isn't finished yet and should not be used at the moment.

Command prompt's aliases might cause some errors, I haven't checked it out yet.

## Install & more

**Install :**
```
npm i -g cli-ls
```
You might have to set NodeJS as your default program to run .js files in Windows.

**Update :**
```
npm update -g cli-ls
```

**Uninstall :**
```
npm uninstall -g cli-ls
```

## Usage

```
ls [OPTION]... [FILE]...
```

### Options:

New or changed options are in bold.

Short | Long | Effect
--- | --- | ---
**-a** | **--all** | Do not ignore hidden entries and/or entries starting with .
**-A** | **--almost-all** | Do not ignore hidden entries and do not list implied . and ..
**-d** | **--debug** | Display some debugging informations and exit
**-F** | **--classify** | Append indicator (one of */=>@|) to entries
-h | --human-readable | With -l and/or -s, print human readable sizes (e.g., 1K 234M 2G)
-l | --list | Use a long listing format
-m | --comma | Fill width with a comma separated list of entries
-p | --indicator-style | **Unfinished:** Append / indicator to directories
-R | --recursive | List subdirectories recursively
 | --help | Display the help and exit
 | --version | Output version information and exit
 | **--src** | **TEMP:** folder(s) to list
 | **--show-control-chars** | **TEMP:** Used to prevent some aliases errors.

### Changes made:

**-a** & **-A**: Shows files and folder with the H (hidden) or S (system) flags, which are ignored by default.<br>
**-F**: Only appends (*/@) to files and folders.

## Requirements

Node v4+ for [winattr](https://www.npmjs.com/package/winattr)

## Dependencies

#### NodeJS modules
* [fs](https://nodejs.org/api/fs.html)
* [path](https://nodejs.org/api/path.html)

#### Other Modules
* [chalk](https://www.npmjs.com/package/chalk)
* [command-line-args](https://www.npmjs.com/package/command-line-args)
* [command-line-usage](https://www.npmjs.com/package/command-line-usage)
* [dateformat](https://www.npmjs.com/package/dateformat)
* [glob](https://www.npmjs.com/package/glob)
* [pretty-bytes](https://www.npmjs.com/package/pretty-bytes)
* [supports-color](https://www.npmjs.com/package/supports-color)
* [text-table](https://www.npmjs.com/package/text-table)
* [winattr](https://www.npmjs.com/package/winattr)

## License
[WTFPL](http://www.wtfpl.net/)

---
_Source: https://npm.io/package/cli-ls · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
