gt-extension-create1
Create a new extension
Usage
gt extension
create
<name>
[flags]
Overview
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
Examples
$ gt extension create hello $ gt extension create hello --precompiled=go