rushed

Crates.iorushed
lib.rsrushed
version0.1.1
created_at2025-05-09 07:07:12.280633+00
updated_at2025-07-29 07:04:55.099051+00
descriptionSimpler and faster shell commands.
homepagehttps://gitlab.com/traxix/rushed
repositoryhttps://gitlab.com/traxix/rushed
max_upload_size
id1666363
size22,451
(trax44)

documentation

README

A collection of CLI tools to simplify and speed up shell usage.

[TOC]

Install

cargo install rushed

f - Find your file faster

f is a fast alternative to find and grep with simpler syntax and smart configuration.

Usage

f [OPTIONS] [match_files]...

Examples

# Find files matching a pattern (like `find . -name "*rs"`)
f "rs$"

# Find a file while ignoring specific directories
f --idirs node_modules index.js  # without config
f index.js                       # with config
# Find files ending with "rs" and containing lines matching "Arc" AND "use"
find . -name "*rs" -exec grep -l Arc '{}' \; | grep use
f "rs$" -a Arc use
# Find all files .cpp and .h
f "cpp$" "h$"

Options

  • --generate-conf Generate default config (overwrite if exists)
  • -p, --path <path> Search root path [default: .]
  • --idirs <ignore_dirs>... Ignore listed directories
  • --ifiles <ignore_files>... Ignore listed files
  • --max-depth <max_depth> Max depth [default: 100]
  • -n, --any <patterns_any>... Match any of these patterns in file content
  • -a, --all <patterns_all>... Match all of these patterns in file content
  • -c, --conf <conf> Config file path [default: ~/.config/rush/conf.json]
  • -v, --verbose Print matched lines
  • -h, --help Show help
  • -V, --version Show version
Commit count: 1

cargo fmt