#directory #ls #command #display #above

bin+lib cain_ls

A simple ls command implementation in Rust

4 releases

0.1.3 Apr 28, 2024
0.1.2 Apr 26, 2024
0.1.1 Apr 26, 2024
0.1.0 Apr 26, 2024

#2 in #above

Download history 1/week @ 2024-10-08 1/week @ 2024-10-15 1/week @ 2024-10-29 1/week @ 2024-11-05 1/week @ 2024-12-03 8/week @ 2024-12-10

127 downloads per month

MIT license

7KB
134 lines

cain_ls

Goal 1

  1. get curr directory
  2. get all files in curr directory
  3. display above files

Goal 2

  1. make executable

Goal 3

  1. Adjust all blank spaces of the file name equally

Goal 4

  1. Color varies depending on the file type.

Goal 5

  1. -a, -l options specified and even created a help command
  2. -a: display all files including hidden files
  3. -l: display file information
    1. to retrieve user, group name implement later

Goal 6

  1. refactoring

Dependencies

~1–7.5MB
~51K SLoC