Skip to content
This repository has been archived by the owner on Apr 28, 2018. It is now read-only.

aziascreations/cli-ls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cli-ls

npm-version dependencies-status

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 */=>@
-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.
-F: Only appends (*/@) to files and folders.

Requirements

Node v4+ for winattr

Dependencies

NodeJS modules

Other Modules

License

WTFPL

About

A NodeJS version of the "ls" command

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published