Skip to content

v1.4.0 — 50+ Compression Patterns

Choose a tag to compare

@yvgude yvgude released this 24 Mar 08:16

What's New in v1.4.0

50+ Shell Hook Compression Patterns

  • Git: 16 subcommands (status, log, diff, add, commit, push, pull, fetch, clone, branch, checkout, merge, stash, tag, reset, remote, blame, cherry-pick)
  • Docker: 10 subcommands (build, ps, images, logs, compose ps/up/down, exec, network, volume, inspect)
  • npm/pnpm/yarn: 6 subcommands (install, test, run, list, outdated, audit)
  • GitHub CLI: 8 subcommands (pr list/view/create/merge, issue list/view/create, run list/view)
  • Kubernetes: 8 subcommands (get pods/services/deployments, logs, describe, apply, delete, exec, top, rollout)
  • Python: pip install/list/outdated, ruff check/format
  • Linters: eslint, biome, prettier, stylelint
  • Build Tools: tsc, next build, vite build
  • Test Runners: jest, pytest, go test, playwright, cypress
  • Utils: curl, grep/rg, find, ls, wget
  • Data: env filtering, JSON schema extraction, log deduplication

New CLI Commands

  • lean-ctx discover — Find uncompressed commands in your shell history
  • lean-ctx session — Show adoption statistics
  • lean-ctx config — TOML configuration file support

New Features

  • Tee/Recovery: Full output saved to ~/.lean-ctx/tee/ on errors
  • 23 shell aliases installed by lean-ctx init --global (was 8)
  • TOML config file at ~/.lean-ctx/config.toml

Homebrew Support

brew tap yvgude/tap
brew install lean-ctx

Install

cargo install lean-ctx

Website: https://leanctx.com
Discord: https://discord.gg/pTHkG9Hew9