gt-extension-search1
Search an index of extensions
Usage
gt extension
search
[<query> ...]
[flags]
Overview
Search the extensions an index repository lists in its extensions.yml, by name and description. The default index lists the extensions the Gitea project supports; --index reads another repository, such as one of your organization:
extensions:
- name: hello
repository: https://gitea.com/alice/gt-hello
description: Say hello
Json fields
description, installed, name, platforms, repository
Options
-h, --help[=false]
help for search
--index="https://gitea.com/gitea/cli-extensions"
Index repository to search
Options inherited from parent commands
--csv[=""]
Output CSV with the specified comma-separated fields, or all fields
--cwd=""
Working directory for repository discovery
--debug[=false]
Log the method, URL, status, and duration of each HTTP request to stderr
--host=""
Gitea instance URL, including any base path
--interactive[=false]
Allow prompts with machine output
-q, --jq=""
Filter JSON output using a jq expression; implies --json
--json[=""]
Output JSON with the specified comma-separated fields, or all fields
--no-input[=false]
Disable prompts and implicit editor/browser interactions
--sudo=""
Perform API requests as this user (requires an administrator account)
--user=""
Account name on the selected instance
Examples
$ gt extension search $ gt extension search review $ gt extension search --index https://git.example.com/platform/gt-extensions