| GT-EXTENSION-CREATE(1) | gitea-cli Manual | GT-EXTENSION-CREATE(1) |
NAME
gt-extension-create - Create a new extension
SYNOPSIS
gt extension create <name> [flags]
DESCRIPTION
Create the directory gt-NAME with a new extension in a fresh Git repository: an executable gt-NAME script, or with --precompiled=go a Go program and a workflow that publishes it as release assets with their checksums.txt. gt extension install . runs it while you work on it; build a Go extension with go build first.
OPTIONS
-h, --help[=false] help for create
--precompiled="" Create a precompiled extension in go instead of a script
OPTIONS INHERITED FROM PARENT COMMANDS
--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
--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
EXAMPLE
$ gt extension create hello $ gt extension create hello --precompiled=go
SEE ALSO
| Nov 2026 | gitea-cli |