| WOLFICTL-RUBY-CODE-SEARCH(1) | WOLFICTL-RUBY-CODE-SEARCH(1) |
NAME¶
wolfictl-ruby-code-search - Run Github search queries for ruby packages.
SYNOPSIS¶
wolfictl ruby code-search [flags]
DESCRIPTION¶
NOTE: Due to limitations of GitHub Code Search, the search terms
are only matched
against the default branch rather than the tag from which the package is
built. Hopefully this gets better in the future but it could lead to false
negatives if upgrade work has been committed to the main branch but a release
has not been cut yet.
NOTE: This is currently restricted to ruby code housed on Github
as that is the
majority. There are some on Gitlab and adding Gitlab API support is TODO.
OPTIONS¶
-h, --help[=false]
help for code-search
--no-cache[=false]
do not use cached results
-r, --ruby-version=""
ruby version to search for
-s, --search-terms=[]
GitHub code search term
OPTIONS INHERITED FROM PARENT COMMANDS¶
--log-level="WARN"
log level (e.g. debug, info, warn, error)
EXAMPLE¶
Run a search query over all ruby-3.2 package in the current directory¶
wolfictl ruby code-search . --ruby-version 3.2 --search-terms 'language:ruby racc'
SEE ALSO¶
| Auto generated by spf13/cobra |