---
name: "gt-extension-exec"
section: "1"
platform: "linux"
package: "gitea-cli"
version: "1.0.0-1"
release: "Arch Linux 2026-11-07"
platforms: ["linux"]
url: "https://carta.tech/man/gt-extension-exec"
---

# gt-extension-exec(1)

Run an extension, even when a built-in command has its name

## NAME

gt-extension-exec - Run an extension, even when a built-in command has its name

## SYNOPSIS

**gt extension exec \<name\> \[\<args\>...\] \[flags\]**

## DESCRIPTION

Run an extension, even when a built-in command has its name

## OPTIONS

**-h**, **--help**\[=false\]\
 	help for exec

## OPTIONS INHERITED FROM PARENT COMMANDS

**--cwd**=""\
 	Working **directory** for repository discovery

**--host**=""\
 	Gitea instance **URL**, including any base path

**--no-input**\[=false\]\
 	Disable prompts and implicit editor/browser interactions

**-R**, **--repo**=""\
 	Select a repository as **OWNER/REPO** or URL

**--user**=""\
 	Account **name** on the selected instance

**-y**, **--yes**\[=false\]\
 	Accept confirmations without prompting

## EXAMPLE

```
$ gt extension exec hello --greeting hi
# Global flags go before exec
$ gt --repo alice/project extension exec hello
```

## SEE ALSO

**[gt-extension(1)](/man/gt-extension/1.md)**
