Search in code using tsquery
npm install @flycode-org/tsfindLocally:
``sh`
npm install @flycode-org/tsfindor
yarn add @flycode-org/tsfind
Globally:
`sh`
npm install --global @flycode-org/tsfindor
yarn global add @flycode-org/tsfind
`
tsfind
> Search in code using tsquery
ARGUMENTS:
- path (glob) to code files
FLAGS:
--verbose - emit additional logs
--path-only - only output the paths of the matches
--mark-whitespaces - mark whitespaces in matches in addition to characters
--help, -h - show help
OPTIONS:
--ignore
--context-lines
`
#### Run example query on frontend
`sh``
yarn run cli-dev --color $QUERY_FILE $CODE_PATH | less -R