Skip to content
/ lx Public

📝 Log extractor for filtering logs with desired keyword

License

Notifications You must be signed in to change notification settings

Geun-Oh/lx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📝 lx

lx is a tool for running commands and filtering their output. It is similar to the docker logs command but with additional filtering capabilities (WIP).

Installation

To install this project, you need to have Go installed. Then, you can install the project by running the following command:

go install github.com/Geun-Oh/lx

Usage

To use lx to run a command and filter its output, you can use the following command:

lx --keyword <your-keyword> <command> [command-args...]

For example, to filter the output of the echo command, you can use:

lx --keyword LOG echo "LOG: HELLO WORLD"

The output will be as follows:

[2025-01-26T13:32:19+09:00][stdout]: LOG: HELLO WORLD
Command executed successfully.

This command will filter the output and display only the lines containing the text hello.

Contributing

Contributions are welcome! You can contribute by reporting bugs, requesting features, or submitting pull requests.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

📝 Log extractor for filtering logs with desired keyword

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages