#file-content #unix-command #ls #list #cat #directory

app c-cli

cat and ls combined into one command

4 releases

0.2.2 Oct 2, 2023
0.2.1 Aug 24, 2023
0.2.0 Aug 4, 2023
0.1.0 Aug 3, 2023

#781 in Filesystem

30 downloads per month

Apache-2.0

7KB
77 lines

C

cat and ls combined into one command

This CLI program emulates the basic functionality of the ls command found in Unix-like systems combined with cat. It lists the names of all files and directories in the current directory as well as showing the file content of the specified file.

Installing

cargo install c-cli

Usage

  • List files in current directory, just like ls
c

or

c {foldername}
  • Show file content like cat. You can also specify multiple files
c {filename}

No runtime deps