Skip to content

⚡ Treels is a CLI tool crafted in Go, merging tree and ls commands with intuitive merging and beautification features.

License

Notifications You must be signed in to change notification settings

OussamaM1/treels

Repository files navigation

⚡ treels

Treels, a CLI tool built in Go, merges the tree and ls commands while introducing intuitive merging and beautification features, simplifying directory navigation and enhancing the command-line experience.

🚀 Installation

To install the treels command-line tool, ensure you have Go installed on your system. If not, you can download and install it from the official Go website.

Once you have Go installed, open a terminal or command prompt and run the following command:

go install github.com/oussamaM1/treels/

This command will download the repository, build the treels executable, and place it in your Go binary directory. Make sure your Go binary directory is in your system's PATH so that you can execute treels from any directory.

📝 Note

To ensure that icons are displayed correctly in the terminal, it's recommended to use Nerd fonts. For example, you can download the FiraCode Nerd Font from here.

⚡ Usage

treels [Flags] [Path]

🏷️ Flags

  • -a, --all: List all files and directories
  • -h, --help: Help for treels
  • -t, --tree: Tree view of the directory
  • -i, --icon: Disable icons (Enabled by default)

📋 Example

treels -a

This command will list all files and directories in the current directory.

treels -t /Project/treels

This command will display the tree view of the /Project/treels/ directory.

treels -it /Project/treels

This command will display the tree view without icons of the /Project/treels/ directory.

About

⚡ Treels is a CLI tool crafted in Go, merging tree and ls commands with intuitive merging and beautification features.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages