.nh
.TH "GT-WIKI-CREATE" "1" "Nov 2026" "gitea-cli" "gitea-cli Manual"
.SH NAME
gt-wiki-create - Create a wiki page
.SH SYNOPSIS
\fBgt wiki create [
] [flags]\fP
.SH DESCRIPTION
Create a wiki page. Without --body or --body-file, the content is written in an editor or typed on the terminal.
.SS JSON FIELDS
.EX
author, body, commit_count, footer, sha, sidebar, title, updated_at, url
.EE
.SH OPTIONS
\fB-b\fP, \fB--body\fP=""
Page content
.PP
\fB-F\fP, \fB--body-file\fP=""
Read the page content from a file, or - for standard input
.PP
\fB-e\fP, \fB--editor\fP[=false]
Write the page content in an editor
.PP
\fB-h\fP, \fB--help\fP[=false]
help for create
.PP
\fB-m\fP, \fB--message\fP=""
Commit message of the change
.PP
\fB-t\fP, \fB--title\fP=""
Page title
.SH OPTIONS INHERITED FROM PARENT COMMANDS
\fB--csv\fP[=""]
Output CSV with the specified comma-separated \fBfields\fR, or all fields
.PP
\fB--cwd\fP=""
Working \fBdirectory\fR for repository discovery
.PP
\fB--debug\fP[=false]
Log the method, URL, status, and duration of each HTTP request to stderr
.PP
\fB--host\fP=""
Gitea instance \fBURL\fR, including any base path
.PP
\fB--interactive\fP[=false]
Allow prompts with machine output
.PP
\fB-q\fP, \fB--jq\fP=""
Filter JSON output using a jq \fBexpression\fR; implies --json
.PP
\fB--json\fP[=""]
Output JSON with the specified comma-separated \fBfields\fR, or all fields
.PP
\fB--no-input\fP[=false]
Disable prompts and implicit editor/browser interactions
.PP
\fB--remote\fP=""
Git \fBremote\fR used for repository discovery
.PP
\fB-R\fP, \fB--repo\fP=""
Select a repository as \fBOWNER/REPO\fR or URL
.PP
\fB--sudo\fP=""
Perform API requests as this \fBuser\fR (requires an administrator account)
.PP
\fB--user\fP=""
Account \fBname\fR on the selected instance
.SH EXAMPLE
.EX
$ gt wiki create "Getting Started" --body-file docs/start.md
$ gt wiki create Home --editor
.EE
.SH SEE ALSO
\fBgt-wiki(1)\fP