Linux command
lexy 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Read a tutorial
lexy [language]
List all available languages
lexy list
Force update
lexy update
说明
lexy is a lightweight CLI tool that fetches programming tutorials from "Learn X in Y Minutes" directly into your terminal. It allows you to quickly search, learn, and reference code examples without leaving your workflow. Tutorials are cached locally in $HOME/.config/lexy and automatically updated every 60 days. Output includes syntax highlighting using bat, with a default Catppuccin Mocha color palette that can be customized via config.toml.
参数
- list
- List all available languages using fzf for fuzzy selection.
- update
- Force update the local documentation cache.
FAQ
What is the lexy command used for?
lexy is a lightweight CLI tool that fetches programming tutorials from "Learn X in Y Minutes" directly into your terminal. It allows you to quickly search, learn, and reference code examples without leaving your workflow. Tutorials are cached locally in $HOME/.config/lexy and automatically updated every 60 days. Output includes syntax highlighting using bat, with a default Catppuccin Mocha color palette that can be customized via config.toml.
How do I run a basic lexy example?
Run `lexy [language]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does list do in lexy?
List all available languages using fzf for fuzzy selection.