indexa
1.0.0
ค้นหาทางเลือกด้วยการค้นหาที่เพิ่มขึ้น
cargo install --git https://github.com/mosmeh/indexa
# view and search files & directories
ix
# choose which file to open in vi
vi $( ix )
# use regex
ix -r
# match full path
ix -p
ในการเปิดตัวครั้งแรก indexa จะถามคุณว่าคุณต้องการสร้างฐานข้อมูลด้วยการกำหนดค่าเริ่มต้นหรือไม่
หากต้องการอัพเดตฐานข้อมูล ให้รัน:
ix -u
พฤติกรรมและรูปลักษณ์ของ indexa สามารถปรับแต่งได้โดยการแก้ไขไฟล์ปรับแต่ง
ไฟล์กำหนดค่าอยู่ที่ ~/.config/indexa/config.toml
บน Unix และ %APPDATA%indexaconfig.toml
บน Windows
USAGE:
ix [FLAGS] [OPTIONS]
FLAGS:
-s, --case-sensitive Search case-sensitively
-i, --ignore-case Search case-insensitively
-r, --regex Enable regex
-u, --update Update database and exit
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-q, --query <query> Initial query
-p, --match-path <when> Match path
-t, --threads <threads> Number of threads to use
-C, --config <config> Location of a config file