#aopt #app #extension #find

app findsource

Simple configurable tool for searching source files by extensions easily!

5 releases

0.1.4 Jan 1, 2023
0.1.3 Dec 22, 2022
0.0.9 Sep 4, 2022
0.0.7 Apr 7, 2022
0.0.5 Mar 31, 2022

#587 in Command line utilities

30 downloads per month

MPL-2.0 license

23KB
558 lines

findsource

Simple configurable tool for searching source files by extensions easily!

Help

Usage: fs [-d,--debug] [-?,--help] [-v,--verbose] [-l,--load CFG|PATH] [-w,--whole] [-W,--Whole] [-e,--extension] [-E,--Extension] [-X,--Exclude] [-i,--ignore-case] [-o,--only] [-/r,--/reverse] [-a,--hidden] [-f,--full] [ARGS]

Simple configurable tool for searching source files by extensions easily!

OPTION:
  -d,--debug              Print debug message
  -?,--help               Print help message
  -v,--verbose            Print more debug message
  -l,--load CFG|PATH      Load option setting from configuration name or file
  -w,--whole              Extension category: match whole filename
  -W,--Whole              Exclude given whole filename
  -e,--extension          Extension category: match file extension
  -E,--Extension          Exclude given file extension
  -X,--Exclude            Exclude given file category
  -i,--ignore-case        Enable ignore case mode
  -o,--only               Only search given file category
  -/r,--/reverse          Disable reverse mode
  -a,--hidden             Search hidden file
  -f,--full               Display absolute path of matched file

ARGS:
  [PATH]+      Path need to be search

Create by araraloren <blackcatoverwall@gmail.com> v0.1.2

fs will search for the configuration file in executable binary directory, working directory, current directory and two custome directories. The first is executable binary directory/FS_BUILD_CONFIG_DIR which can be set at compile time, then FS_CONFIG_DIR which can be set at runtime.

Get the release

Get Release here.

LICENSE

MPL-2.0

Dependencies

~10–16MB
~285K SLoC