lh

Crates.iolh
lib.rslh
version1.0.0
created_at2024-01-12 18:10:38.177352+00
updated_at2025-03-01 18:53:39.106606+00
descriptionList handsomely customizable ls command work in progress
homepage
repositoryhttps://github.com/kamilutkumavi0/lh
max_upload_size
id1097930
size1,340,140
Kamil Utku Mavi (kamilutkumavi0)

documentation

https://docs.rs/lh/

README

lh

List handsomely is a customizable directory listing tool. Currently, it prints file names, but future updates will include metadata filters and more advanced features.

Installation

Prerequisites

Ensure you have Nerd Fonts installed and enabled for the symbols.

Install lh

Package Manager Command
cargo cargo install lh

Documentation

Documentation is available here.

Flags

  • If no filter is applied, the output includes all file types and excludes hidden files. The default input is ./.
  • --all or -a flag: Prints all files, including hidden ones.
  • --long or -l flag: Provides detailed information about the files.
  • --hidden flag: Prints only hidden files.
  • --p-type file flag: Prints only files.
  • --p-type dir flag: Prints only directories.
  • --filter or -f flag: Prints filtered output.
  • --one-col or -o flag: Prints not like tables like list.
  • --sort or -s flag: changes the sort type name or size.
  • --recursive or -r flag: Recursively lists.
  • --search or -S flag: searchs the key in the list.

standard_all_outputs only_files only_dirs

Usage

Here are some examples of how to use the lh command:

  • List all files and directories in the current directory:

    lh
    
  • List all files, including hidden ones:

    lh --all
    
  • List only files:

    lh --p-type file
    
  • List only directories:

    lh --p-type dir
    
  • Provide detailed information about the files:

    lh --long
    
  • List files recursively:

    lh --recursive
    
  • Filter files by a specific type:

    lh --filter <file_type>
    
  • Search for files with a specific name:

    lh --search <file_name>
    

Future Plans

  • Customizable in Linux.
  • Customizable in Windows.
  • Bold, italic, and regular options for config.
  • Implement search functionality.
  • Advanced filtering and sorting options.
  • Recursive directory listing.
  • Add support for additional file types and extensions.
  • Add more customization options for output formatting.
  • Theme installation from github repo.
  • Default theme correction.
  • Background color customization.
  • Color test
Commit count: 109

cargo fmt