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

anas-stuff/jls

Repository files navigation

jls: modern ls using java ☕

Quality Gate Status Lines of Code Code Smells Bugs Technical Debt Reliability Rating Duplicated Lines (%) Vulnerabilities Security Rating Maintainability Rating

jls jls -lh

Features

  • Support text color.
  • Support icons for file type (require nerd-font).
  • More customization options

Install

Linux

  • From aur: yay -S jls
  • Manual:
    • Make sure you installed wget and nerd font
    • Run this command
       curl -s https://raw.githubusercontent.com/Anas-Elgarhy/jls/master/scripts/install.sh | sudo bash

Uninstall

Linux

  • Manual:
    • Run this command
        curl -s https://raw.githubusercontent.com/Anas-Elgarhy/jls/master/scripts/uninstall.sh | sudo bash

Options table

Option Value Description
--help n/a Show help message
-v or --version n/a Show version
-a or --all n/a Show all files including hidden files
-l or --long n/a Show long format
-G or --group n/a Show group name in long format
-h or --human-readable n/a Show human readable size
-s or --size n/a Show file size in normal format
-S n/a Sort by size (largest first)
-R or --revcursive n/a Show files in sub-directories recursively (not implemented yet)
-ni or --no-icons n/a Don't show icons
-ic or --icons-color Icon color in hex format or Auto for auto color Use custom icons color (not implemented yet)
-tc or --text-color Text color in hex format or Auto for auto color Use custom text color (not implemented yet)
-no or --no-owner n/a Don't show owner name in long format
-nc or --no-colors n/a Don't use colors
-nd or --no-date n/a Don't show last modified date
-nn or --no-name n/a Don't show file name
-L n/a Sort by last modified date (latest first)
np or --no-permissions n/a Don't show permissions in long format
-ns or --no-size n/a Don't show the file size
-nt or --no-type n/a Don't show the file type
-c or --contents-count n/a Show the number of files in the directory
-t or --tree n/a Show the directory tree (not implemented yet)

Requirements for development:

  • nerd-font
  • Gradle 7.4
  • jdk 17
  • IntelliJ IDEA (not required but recommended)

TODO

  • Add Tests
  • Add Formatter
  • Add configs system
  • Crete arch package created in aur

Available in

GitHub GitLab BitBucket Codeberg

Quality gate

SonarCloud

License: GPL-3.0