A modern alternative to GNU/pwd using Java 🥰
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Anas Elgarhy 5e7658468e Add aur submodule 1 week ago
.github/workflows Add mirror action 🪞 3 weeks ago
.idea Include the colorful console lib in jar 3 weeks ago
archpackage Add aur submodule 1 week ago
assets [ImgBot] Optimize images 3 weeks ago
screenshots [ImgBot] Optimize images 3 weeks ago
scripts Fix bundle-gz-file script 1 week ago
src/main Up the version, and implement -v option 😇 1 week ago
.gitignore Add arch pakage ignored files to git ignore 😌 1 week ago
.gitmodules Add aur submodule 1 week ago
CODE_OF_CONDUCT.md Add code of conduct 3 weeks ago
CONTRIBUTING.md Add contributing gide 💙 3 weeks ago
LICENSE.txt Add license GPL-3 3 weeks ago
README.md Update README file 😆 1 week ago
pom.xml Up version 🙃 1 week ago

README.md

jpwd: A modern alternative to GNU/pwd using Java 🥰

Security Rating Lines of Code Quality Gate Status Reliability Rating Duplicated Lines (%) VulnerabilitiesBugs Code Smells

jpwd screenshot

Features

  • Colorful output
  • Customizable colors for directories names and separator
  • Customizable separator
  • Supports multiple separators
  • Supports icons for directories
  • Supports no icons and no colors modes
  • Cross-platform (macOS, Windows, Linux) 🌍

Install

Linux

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

Uninstall

Linux

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

Options table

Option Value Description
-h or --help n/a Show the help message
-v or --version n/a Show the version
-s or --separator Separator string Set the separator (like '-'), accept strings and characters, default is system separator (like '' in windows or '/' in linux and unix like systems)
-sc or --separator-color Color name or hex value, e.g red or `#ff000000 Set the separator color, accept strings and colors, default is random color
-nc or --no-colors n/a Disable colors
-b or --background Color name or hex value, e.g red or `#ff000000 Set the background color, accept strings and colors, default is none
-ni or --no-icons n/a Disable icons
-bc or --block-colors Block colors list like red,green,blue or #ff000000,#00ff0000 Set a list of dont use colors
-cl or --colors-list List of allowed colors like red,green,blue or #ff000000,#00ff0000 Set a list of colors, like "#5f44a4,red" If you use this option, it means that you have blocked all colors except for the ones you passed.

Requirements for development:

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

TODO

  • Add Tests
  • Add Formatter
  • Crete arch package, created in aur
  • Create debian package
  • Add -L and -P options like the original pwd

Available in

GitHub GitLab BitBucket Codeberg

Quality gate

SonarCloud

License: GPL-3.0