tea-cli(1)
๐ NAME ๐
okay so you opened the tea-cli(1) man page bestie, and here's the tea (literally): tea is the command line tool to interact with Gitea. that's it, that's the name section. slay. ๐
โจ SYNOPSIS โจ
tea
like. that's the whole synopsis. just tea. she contains multitudes ๐ซถ
๐ฆ DESCRIPTION ๐ฆ
tea is a productivity helper for Gitea, no cap. she can be used to manage most entities on one or multiple Gitea instances, and she also provides local helpers like tea pr checkout. it's giving personal assistant energy but for your whole git hosting setup ๐
tea tries to make use of context provided by the repository in $PWD if available. she works best in a upstream/fork workflow, when the local main branch tracks the upstream repo. and heads up: tea assumes that local git state is published on the remote before doing operations with tea. like, push first, then tea. don't skip that part, i'm begging ๐ญ
Configuration is persisted in $XDG_CONFIG_HOME/tea. your settings live there, that's her little home ๐
Usage:
tea [GLOBAL OPTIONS] [command [COMMAND OPTIONS]] [ARGUMENTS...]
๐ COMMANDS ๐
every command, in order, nothing skipped, we are thorough in this house โจ
๐ logins, login
Log in to a Gitea server ๐
๐ list, ls
List Gitea logins ๐
--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)
๐ add
Add a Gitea login โ
--client-id=""โ OAuth client ID (for use with--oauth)--helper,-jโ Add helper--insecure,-iโ Disable TLS verification--name,-n=""โ Login name--no-version-check,--nvโ Do not check version of Gitea instance--oauth,-oโ Use interactive OAuth2 flow for authentication--otp=""โ OTP token for auth, if necessary--password,--pwd=""โ Password for basic auth (will create token)--redirect-url=""โ OAuth redirect URL (for use with--oauth)--scopes=""โ Token scopes to add when creating a new token, separated by a comma--ssh-agent-key,-a=""โ Use SSH public key or SSH fingerprint to login (needs a running ssh-agent with ssh key loaded)--ssh-agent-principal,-c=""โ Use SSH certificate with specified principal to login (needs a running ssh-agent with certificate loaded)--ssh-key,-s=""โ Path to a SSH key/certificate to use, overrides auto-discovery--token,-t=""โ Access token. Can be obtained from Settings > Applications--url,-u=""โ Server URL (default:https://gitea.com)--user=""โ User for basic auth (will create token)
๐ edit, e
Edit Gitea logins โ๏ธ
--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)
๐ delete, rm
Remove a Gitea login ๐๏ธ
๐ default
Get or Set Default Login โญ
--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)
๐ oauth-refresh
Refresh an OAuth token ๐
๐ logout
Log out from a Gitea server ๐
๐ whoami
Show current logged in user ๐ช
๐ issues, issue, i
List, create and update issues ๐โจ
--assignee,-a=""โ (no description given, bestie, she's mysterious like that)--author,-A=""โ (same deal, no description)--commentsโ Whether to display comments (will prompt if not provided & run interactively)--fields,-f=""โ Comma-separated list of fields to print. Available values:index,state,kind,author,author-id,url,title,body,created,updated,deadline,assignees,milestone,labels,comments,owner,repo(default:index,title,state,author,milestone,labels,owner,repo)--from,-F=""โ Filter by activity after this date--keyword,-k=""โ Filter by search string--kind,-K=""โ Whether to return issues, pulls, or all (you can use this to apply advanced search filters to PRs)--labels,-L=""โ Comma-separated list of labels to match issues against.--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ Use a different Gitea Login. Optional--mentions,-M=""โ (no description, keep scrolling)--milestones,-m=""โ Comma-separated list of milestones to match issues against.--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--owner,--org=""โ (no description)--page,-p=""โ specify page (default:1)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional--state=""โ Filter by state (all|open|closed)--until,-u=""โ Filter by activity before this date
๐ธ list, ls
List issues of the repository ๐
--assignee,-a=""โ (no description)--author,-A=""โ (no description)--fields,-f=""โ Comma-separated list of fields to print. Available values:index,state,kind,author,author-id,url,title,body,created,updated,deadline,assignees,milestone,labels,comments,owner,repo(default:index,title,state,author,milestone,labels,owner,repo)--from,-F=""โ Filter by activity after this date--keyword,-k=""โ Filter by search string--kind,-K=""โ Whether to return issues, pulls, or all (you can use this to apply advanced search filters to PRs)--labels,-L=""โ Comma-separated list of labels to match issues against.--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ Use a different Gitea Login. Optional--mentions,-M=""โ (no description)--milestones,-m=""โ Comma-separated list of milestones to match issues against.--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--owner,--org=""โ (no description)--page,-p=""โ specify page (default:1)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional--state=""โ Filter by state (all|open|closed)--until,-u=""โ Filter by activity before this date
๐ธ create, c
Create an issue on repository ๐ฑ
--assignees,-a=""โ Comma-separated list of usernames to assign--deadline,-D=""โ Deadline timestamp to assign--description,-d=""โ (no description)--labels,-L=""โ Comma-separated list of labels to assign--login,-l=""โ Use a different Gitea Login. Optional--milestone,-m=""โ Milestone to assign--referenced-version,-v=""โ commit-hash or tag name to assign--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional--title,-t=""โ (no description)
๐ธ edit, e
Edit one or more issues ๐๏ธ
--add-assignees,-a=""โ Comma-separated list of usernames to assign--add-labels,-L=""โ Comma-separated list of labels to assign. Takes precedence over--remove-labels--deadline,-D=""โ Deadline timestamp to assign--description,-d=""โ (no description)--login,-l=""โ Use a different Gitea Login. Optional--milestone,-m=""โ Milestone to assign--referenced-version,-v=""โ commit-hash or tag name to assign--remote,-R=""โ Discover Gitea login from remote. Optional--remove-labels=""โ Comma-separated list of labels to remove--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional--title,-t=""โ (no description)
๐ธ reopen, open
Change state of one or more issues to open ๐
--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
๐ธ close
Change state of one ore more issues to closed ๐
yes, the original really does say "one ore more". i'm not fixing it, i'm not touching it, it's part of the lore now ๐
--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
๐ pulls, pull, pr
Manage and checkout pull requests ๐๐
--commentsโ Whether to display comments (will prompt if not provided & run interactively)--fields,-f=""โ Comma-separated list of fields to print. Available values:index,state,author,author-id,url,title,body,mergeable,base,base-commit,head,diff,patch,created,updated,deadline,assignees,milestone,labels,comments(default:index,title,state,author,milestone,updated,labels)--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional--state=""โ Filter by state (all|open|closed)
๐ท list, ls
List pull requests of the repository ๐
--fields,-f=""โ Comma-separated list of fields to print. Available values:index,state,author,author-id,url,title,body,mergeable,base,base-commit,head,diff,patch,created,updated,deadline,assignees,milestone,labels,comments(default:index,title,state,author,milestone,updated,labels)--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional--state=""โ Filter by state (all|open|closed)
๐ท checkout, co
Locally check out the given PR ๐งณ
--branch,-bโ Create a local branch if it doesnโt exist yet--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
๐ท clean
Deletes local & remote feature-branches for a closed pull request ๐งน
--ignore-shaโ Find the local branch by name instead of commit hash (less precise)--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
๐ท create, c
Create a pull-request ๐
--allow-maintainer-edits,--editsโ Enable maintainers to push to the base branch of created pull--assignees,-a=""โ Comma-separated list of usernames to assign--base,-b=""โ Branch name of the PR target (default is repos default branch)--deadline,-D=""โ Deadline timestamp to assign--description,-d=""โ (no description)--head=""โ Branch name of the PR source (default is current one). To specify a different head repo, use :--labels,-L=""โ Comma-separated list of labels to assign--login,-l=""โ Use a different Gitea Login. Optional--milestone,-m=""โ Milestone to assign
and that's only part 1, bestie โ there's more incoming, don't go anywhere ๐ซถโจ
...and that's the tail end of pulls create, so let's keep it moving bestie:
--referenced-version,-v=""โ commit-hash or tag name to assign ๐ท๏ธ--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional--title,-t=""โ the title, bestie โจ
tea pulls close
Change state of one or more pull requests to closed ๐
--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
tea pulls reopen (aka open)
Change state of one or more pull requests to open ๐ธ โ resurrection arc, we love to see it.
--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
tea pulls review
Interactively review a pull request ๐ โ main character behavior, fr fr.
--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
tea pulls approve (aka lgtm, a)
Approve a pull request โ
โ the lgtm alias literally means "looks good to me", iconic.
--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
tea pulls reject
Request changes to a pull request ๐ โ not mean, just honest.
--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
tea pulls merge (aka m)
Merge a pull request ๐ โ the moment we've all been waiting for.
--login,-l=""โ Use a different Gitea Login. Optional--message,-m=""โ Merge commit message--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional--style,-s=""โ Kind of merge to perform:merge,rebase,squash,rebase-merge(default:merge)--title,-t=""โ Merge commit title
tea labels (aka label)
Manage issue labels ๐ โ the little color-coded cuties that keep your issues organized.
--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional--save,-sโ Save all the labels as a file
tea labels list (aka ls)
List labels ๐
--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional--save,-sโ Save all the labels as a file
tea labels create (aka c)
Create a label โจ โ new label just dropped.
--color=""โ label color value--description=""โ label description--file=""โ indicate a label file--login,-l=""โ Use a different Gitea Login. Optional--name=""โ label name--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
tea labels update
Update a label ๐๏ธ โ glow-up time.
--color=""โ label color value--description=""โ label description--id=""โ label id (default:0)--login,-l=""โ Use a different Gitea Login. Optional--name=""โ label name--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
tea labels delete (aka rm)
Delete a label ๐๏ธ โ gone, reduced to atoms.
--id=""โ label id (default:0)--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
tea milestones (aka milestone, ms)
List and create milestones ๐ โ big goals, big vibes.
--fields,-f=""โ Comma-separated list of fields to print. Available values:title,state,items_open,items_closed,items,duedate,description,created,updated,closed,id(default:title,items,duedate)--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional--state=""โ Filter by milestone state (all|open|closed)
tea milestones list (aka ls)
List milestones of the repository ๐
--fields,-f=""โ Comma-separated list of fields to print. Available values:title,state,items_open,items_closed,items,duedate,description,created,updated,closed,id(default:title,items,duedate)--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional--state=""โ Filter by milestone state (all|open|closed)
tea milestones create (aka c)
Create an milestone on repository ๐ฏ โ yes bestie, go set that deadline.
--deadline,--expires,-x=""โ set milestone deadline (default is no due date)--description,-d=""โ milestone description to create--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional--state=""โ set milestone state (default isopen)--title,-t=""โ milestone title to create
tea milestones close
Change state of one or more milestones to closed ๐
--force,-fโ delete milestone--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
tea milestones delete (aka rm)
delete a milestone ๐๏ธ
--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
tea milestones reopen (aka open)
Change state of one or more milestones to open ๐
--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
tea milestones issues (aka i)
manage issue/pull of an milestone ๐งฉ
--fields,-f=""โ Comma-separated list of fields to print. Available values:index,state,kind,author,author-id,url,title,body,created,updated,deadline,assignees,milestone,labels,comments,owner,repo(default:index,kind,title,state,updated,labels)--kind=""โ Filter by kind (issue|pull)--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional--state=""โ Filter by issue state (all|open|closed)
tea milestones add (aka a)
Add an issue/pull to an milestone โ
--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
tea milestones remove (aka r)
Remove an issue/pull to an milestone โ
--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
tea releases (aka release, r)
Manage releases ๐ฆ โ ship it, queen.
--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
tea releases list (aka ls)
List Releases ๐๏ธ
--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ Use a different Gitea Login. Optional--output,-o=""โ Output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ Discover Gitea login from remote. Optional--repo,-r=""โ Override local repository path or gitea repository slug to interact with. Optional
tea releases create (aka c)
Create a release ๐
--asset,-a=""โ Path to file attachment. Can be specified multiple times (default:[])--draft,-dโ marks it as a draft, obvi ๐--login,-l="" โ use a different Gitea Login. Optional--note,-n="" โ the release notes ๐--note-file,-f="" โ release notes file name. If this is set,--noteis literally ignored, no cap--output,-o="" โ output format. Options aresimple,table,csv,tsv,yaml,json--prerelease,-pโ is a pre-release ๐ผ--remote,-R="" โ discover the Gitea login from the remote. Optional--repo,-r="" โ override the local repository path, or the gitea repository slug, to interact with. Optional--tag="" โ tag name. And bestie, if the tag doesn't exist yet, Gitea will just create it for you โจ--target="" โ target branch name or commit hash. Defaults to the default branch of the repo--title,-t="" โ release title ๐
๐ delete, rm ๐
Delete one or more releases. Gone. Poof. ๐จ
--confirm,-yโ confirm deletion. This one is required, so no accidental yolo-deletes ๐--delete-tagโ also delete the git tag for this release--login,-l="" โ use a different Gitea Login. Optional--output,-o="" โ output format. Options aresimple,table,csv,tsv,yaml,json--remote,-R="" โ discover the Gitea login from the remote. Optional--repo,-r="" โ override the local repository path, or the gitea repository slug, to interact with. Optional
๐ฆ edit, e ๐ฆ
Edit one or more releases. Glow-up time โจ
--draft,-d="" โ mark as Draft [True/false]--login,-l="" โ use a different Gitea Login. Optional--note,-n="" โ change the notes--output,-o="" โ output format. Options aresimple,table,csv,tsv,yaml,json--prerelease,-p="" โ mark as Pre-Release [True/false]--remote,-R="" โ discover the Gitea login from the remote. Optional--repo,-r="" โ override the local repository path, or the gitea repository slug, to interact with. Optional--tag="" โ change the tag--target="" โ change the target--title,-t="" โ change the title
๐ assets, asset, a ๐
Manage release assets. This is the lil group of subcommands that handles the attachments on your releases, iykyk.
--login,-l="" โ use a different Gitea Login. Optional--output,-o="" โ output format. Options aresimple,table,csv,tsv,yaml,json--remote,-R="" โ discover the Gitea login from the remote. Optional--repo,-r="" โ override the local repository path, or the gitea repository slug, to interact with. Optional
list, ls
List Release Attachments ๐
--limit,--lm="" โ specify limit of items per page (default:30)--login,-l="" โ use a different Gitea Login. Optional--output,-o="" โ output format. Options aresimple,table,csv,tsv,yaml,json--page,-p="" โ specify page (default:1)--remote,-R="" โ discover the Gitea login from the remote. Optional--repo,-r="" โ override the local repository path, or the gitea repository slug, to interact with. Optional
create, c
Create one or more release attachments. Upload szn ๐ค
--login,-l="" โ use a different Gitea Login. Optional--output,-o="" โ output format. Options aresimple,table,csv,tsv,yaml,json--remote,-R="" โ discover the Gitea login from the remote. Optional--repo,-r="" โ override the local repository path, or the gitea repository slug, to interact with. Optional
delete, rm
Delete one or more release attachments. (Yes, this is the assets delete, not the release delete โ don't get it twisted bestie ๐)
--confirm,-yโ confirm deletion. Required, again, so you can't just rage-delete ๐--login,-l="" โ use a different Gitea Login. Optional--output,-o="" โ output format. Options aresimple,table,csv,tsv,yaml,json--remote,-R="" โ discover the Gitea login from the remote. Optional--repo,-r="" โ override the local repository path, or the gitea repository slug, to interact with. Optional
๐ times, time, t ๐
Operate on tracked times of a repository's issues & pulls โฑ๏ธ. Time-tracking core, basically.
--fields="" โ comma-separated list of fields to print. Available values:id,created,repo,issue,user,duration--from,-f="" โ show only times tracked after this date--login,-l="" โ use a different Gitea Login. Optional--mine,-mโ show all times tracked by you across all repositories (this overrides the command arguments, so it's got main character energy)--output,-o="" โ output format. Options aresimple,table,csv,tsv,yaml,json--remote,-R="" โ discover the Gitea login from the remote. Optional--repo,-r="" โ override the local repository path, or the gitea repository slug, to interact with. Optional--total,-tโ print the total duration at the end ๐งฎ--until,-u="" โ show only times tracked before this date
๐ธ add, a ๐ธ
Track spent time on an issue
tea times add
--login,-l="" โ use a different Gitea Login. Optional--remote,-R="" โ discover the Gitea login from the remote. Optional--repo,-r="" โ override the local repository path, or the gitea repository slug, to interact with. Optional
๐ delete, rm ๐
Delete a single tracked time on an issue
tea times delete
--login,-l="" โ use a different Gitea Login. Optional--remote,-R="" โ discover the Gitea login from the remote. Optional--repo,-r="" โ override the local repository path, or the gitea repository slug, to interact with. Optional
๐ง reset ๐ง
Reset tracked time on an issue
tea times reset
--login,-l="" โ use a different Gitea Login. Optional--remote,-R="" โ discover the Gitea login from the remote. Optional--repo,-r="" โ override the local repository path, or the gitea repository slug, to interact with. Optional
๐ list, ls ๐
List tracked times on issues & pulls
--fields="" โ comma-separated list of fields to print. Available values:id,created,repo,issue,user,duration--from,-f="" โ show only times tracked after this date--login,-l="" โ use a different Gitea Login. Optional--mine,-mโ show all times tracked by you across all repositories (overrides the command arguments)--output,-o="" โ output format. Options aresimple,table,csv,tsv,yaml,json--remote,-R="" โ discover the Gitea login from the remote. Optional--repo,-r="" โ override the local repository path, or the gitea repository slug, to interact with. Optional--total,-tโ print the total duration at the end--until,-u="" โ show only times tracked before this date
๐ organizations, organization, org ๐
List, create, delete organizations. Org admin era ๐ข
--limit,--lm="" โ specify limit of items per page (default:30)--login,-l="" โ use a different Gitea Login. Optional--output,-o="" โ output format. Options aresimple,table,csv,tsv,yaml,json--page,-p="" โ specify page (default:1)--remote,-R="" โ discover the Gitea login from the remote. Optional--repo,-r="" โ override the local repository path, or the gitea repository slug, to interact with. Optional
โญ list, ls โญ
List Organizations
--limit,--lm="" โ specify limit of items per page (default:30)--login,-l="" โ use a different Gitea Login. Optional--output,-o="" โ output format. Options aresimple,table,csv,tsv,yaml,json--page,-p="" โ specify page (default:1)--remote,-R="" โ discover the Gitea login from the remote. Optional--repo,-r="" โ override the local repository path, or the gitea repository slug, to interact with. Optional
๐ create, c ๐
Create an organization
Heads up bestie โ the manpage literally gives zero description for these flags, so I'm not gonna invent one. Just passing them along exactly as they are ๐
--description,-d="" โ--location,-L="" โ--login,-l="" โ use a different Gitea Login. Optional--name,-n="" โ--repo-admins-can-change-team-accessโ--visibility,-v="" โ--website,-w="" โ
๐ซถ delete, rm ๐ซถ
Delete users Organizations
--login,-l="" โ use a different Gitea Login. Optional--remote,-R="" โ discover the Gitea login from the remote. Optional
โจ repos, repo โจ
Show repository details
--fields,-f="" โ comma-separated list of fields to print. Available values:description,forks,id,name,owner,stars,ssh,updated,url,permission,type(default:owner,name,type,ssh)--limit,--lm="" โ specify limit of items per page (default:30)--login,-l="" โ use a different Gitea Login. Optional--output,-o="" โ output format. Options aresimple,table,csv,tsv,yaml,json--page,-p="" โ specify page (default:1)--starred,-sโ list your starred repos instead โญ--type,-T="" โ filter by type:fork,mirror,source--watched,-wโ list your watched repos instead ๐
๐ฆ list, ls ๐ฆ
List repositories you have access to
--fields,-f="" โ comma-separated list of fields to print. Available values:description,forks,id,name,owner,stars,ssh,updated,url,permission,type(default:owner,name,type,ssh)--limit,--lm="" โ specify limit of items per page (default:30)--login,-l="" โ use a different Gitea Login. Optional--output,-o="" โ output format. Options aresimple,table,csv,tsv,yaml,json--page,-p="" โ specify page (default:1)--starred,-sโ list your starred repos instead โญ--type,-T="" โ filter by type:fork,mirror,source--watched,-wโ list your watched repos instead ๐
๐ฅ search, s ๐ฅ
Find any repo on an Gitea instance
--archived="" โ filter archived repos (true|false)--fields,-f="" โ comma-separated list of fields to print. Available values:description,forks,id,name,owner,stars,ssh,updated,url,permission,type(default:owner,name,type,ssh)--limit,--lm="" โ specify limit of items per page (default:30)--login,-l="" โ use a different Gitea Login. Optional--output,-o="" โ output format. Options aresimple,table,csv,tsv,yaml,json--owner,-O="" โ filter by owner--page,-p="" โ specify page (default:1)--private="" โ filter private repos (true|false)--topic,-tโ search for term in repo topics instead of name--type,-T="" โ filter by type:fork,mirror,source
๐ create, c ๐
Create a repository. New repo drop ๐
--branch="" โ use custom default branch (need--init)--description,--desc="" โ add description to repo--gitignores,--git="" โ list of gitignore templates (need--init)--initโ initialize repo--labels="" โ name of label set to add--license="" โ add license (need--init)--login,-l="" โ use a different Gitea Login. Optional--name,-="" โ name of new repo--object-format="" โ select git object format (sha1,sha256)--output,-o="" โ output format. Options aresimple,table,csv,tsv,yaml,json--owner,-O="" โ name of repo owner--privateโ make repo private--readme="" โ use readme template (need--init)--templateโ make repo a template repo--trustmodel="" โ select trust model (committer,collaborator,collaborator+committer)
Not me noticing --name, -="" up there โ that short flag is giving typo energy, but I'm keeping it exactly as the manpage has it, bestie. No edits, no cap ๐ซก
๐ create-from-template, ct ๐
Create a repository based on an existing template
--avatarโ copy repo avatar from template--contentโ copy git content from template--description,--desc="" โ add custom description to repo--githooksโ copy git hooks from template--labelsโ copy repo labels from template--login,-l="" โ use a different Gitea Login. Optional--name,-n="" โ name of new repo--output,-o="" โ output format. Options aresimple,table,csv,tsv,yaml,json--owner,-O="" โ name of repo owner--privateโ make new repo private
and the last few options for that one, bestie ๐
--template,-t=""โ the source template you're copying from--topicsโ copy the topics over from the template too--webhooksโ and copy the webhooks from the template as well
๐ด fork, f
Fork an existing repository. It's giving "make it mine but also not really" ๐
--login,-l=""โ use a different Gitea Login. Optional--owner,-O=""โ name of fork's owner, defaults to current user--remote,-R=""โ discover Gitea login from remote. Optional--repo,-r=""โ override local repository path or gitea repository slug to interact with. Optional
๐ migrate, m
Migrate a repository. Whole entire repo, picking up and moving, no cap.
--auth-password=""โ password to use for authentication.--auth-token=""โ token to use for authentication.--auth-user=""โ username to use for authentication.--clone-url=""โ clone URL of the repository--issuesโ copy the issues--labelsโ copy the lables--lfsโ copy the LFS objects--lfs-endpoint=""โ LFS endpoint to use--login,-l=""โ use a different Gitea Login. Optional--milestonesโ copy the milestones--mirrorโ mirror the repository--mirror-interval=""โ interval to mirror the repository.--name=""โ name of the repository--output,-o=""โ output format. (simple,table,csv,tsv,yaml,json)--owner=""โ owner of the repository--privateโ make the repository private--pull-requestsโ copy the pull requests--releasesโ copy the releases--service=""โ service to migrate from. Supported services are:git,gitea,gitlab,gogs--templateโ make the repository a template--wikiโ copy the wiki
๐๏ธ delete, rm
Delete an existing repository. Girl, this one is permanent โ read the flags before you go swinging it around ๐ญ
--force,-fโ force the deletion and don't ask for confirmation--login,-l=""โ use a different Gitea Login. Optional--name,-=""โ name of the repo--output,-o=""โ output format. (simple,table,csv,tsv,yaml,json)--owner,-O=""โ owner of the repo
๐ฟ branches, branch, b
Consult branches. Just, like, asking the branches how they're doing โจ
--commentsโ whether to display comments (will prompt if not provided & run interactively)--fields,-f=""โ comma-separated list of fields to print. Available values:name,protected,user-can-merge,user-can-push,protection(default:name,protected,user-can-merge,user-can-push)--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ use a different Gitea Login. Optional--output,-o=""โ output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ discover Gitea login from remote. Optional--repo,-r=""โ override local repository path or gitea repository slug to interact with. Optional
๐ list, ls
List branches of the repository. The lineup, the roster, the whole squad ๐ซถ
--fields,-f=""โ comma-separated list of fields to print. Available values:name,protected,user-can-merge,user-can-push,protection(default:name,protected,user-can-merge,user-can-push)--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ use a different Gitea Login. Optional--output,-o=""โ output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ discover Gitea login from remote. Optional--repo,-r=""โ override local repository path or gitea repository slug to interact with. Optional
๐ก๏ธ protect, P
Protect branches. Wrapping them in bubble wrap, metaphorically ๐
--fields,-f=""โ comma-separated list of fields to print. Available values:name,protected,user-can-merge,user-can-push,protection(default:name,protected,user-can-merge,user-can-push)--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ use a different Gitea Login. Optional--output,-o=""โ output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ discover Gitea login from remote. Optional--repo,-r=""โ override local repository path or gitea repository slug to interact with. Optional
๐ unprotect, U
Unprotect branches. Bubble wrap OFF, free them ๐
--fields,-f=""โ comma-separated list of fields to print. Available values:name,protected,user-can-merge,user-can-push,protection(default:name,protected,user-can-merge,user-can-push)--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ use a different Gitea Login. Optional--output,-o=""โ output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ discover Gitea login from remote. Optional--repo,-r=""โ override local repository path or gitea repository slug to interact with. Optional
๐ฌ comment, c
Add a comment to an issue / pr. Say your piece, bestie ๐ฃ๏ธ
--login,-l=""โ use a different Gitea Login. Optional--output,-o=""โ output format. (simple,table,csv,tsv,yaml,json)--remote,-R=""โ discover Gitea login from remote. Optional--repo,-r=""โ override local repository path or gitea repository slug to interact with. Optional
๐ open, o
Open something of the repository in web browser. Yep. We're leaving the terminal. Briefly. ๐ฆ
--login,-l=""โ use a different Gitea Login. Optional--remote,-R=""โ discover Gitea login from remote. Optional--repo,-r=""โ override local repository path or gitea repository slug to interact with. Optional
๐ notifications, notification, n
Show notifications. The little red dots, but make it command line โจ
--fields,-f=""โ comma-separated list of fields to print. Available values:id,status,updated,index,type,state,title,repository(default:id,status,index,type,state,title)--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ use a different Gitea Login. Optional--mine,-mโ show notifications across all your repositories instead of the current repository only--output,-o=""โ output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ discover Gitea login from remote. Optional--repo,-r=""โ override local repository path or gitea repository slug to interact with. Optional--states,-s=""โ comma-separated list of notification states to filter by. Available values:pinned,unread,read(default:unread,pinned)--types,-t=""โ comma-separated list of subject types to filter by. Available values:issue,pull,repository,commit
๐ ls, list
List notifications. Same energy, different name ๐
--fields,-f=""โ comma-separated list of fields to print. Available values:id,status,updated,index,type,state,title,repository(default:id,status,index,type,state,title)--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ use a different Gitea Login. Optional--mine,-mโ show notifications across all your repositories instead of the current repository only--output,-o=""โ output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ discover Gitea login from remote. Optional--repo,-r=""โ override local repository path or gitea repository slug to interact with. Optional--states,-s=""โ comma-separated list of notification states to filter by. Available values:pinned,unread,read(default:unread,pinned)--types,-t=""โ comma-separated list of subject types to filter by. Available values:issue,pull,repository,commit
โ read, r
Mark all filtered or a specific notification as read. Inbox zero behaviour, we love to see it ๐
--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ use a different Gitea Login. Optional--mine,-mโ show notifications across all your repositories instead of the current repository only--output,-o=""โ output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ discover Gitea login from remote. Optional--repo,-r=""โ override local repository path or gitea repository slug to interact with. Optional--states,-s=""โ comma-separated list of notification states to filter by. Available values:pinned,unread,read(default:unread,pinned)
๐ฉ unread, u
Mark all filtered or a specific notification as unread. Reverting to chaos, iconic ๐
--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ use a different Gitea Login. Optional--mine,-mโ show notifications across all your repositories instead of the current repository only--output,-o=""โ output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ discover Gitea login from remote. Optional--repo,-r=""โ override local repository path or gitea repository slug to interact with. Optional--states,-s=""โ comma-separated list of notification states to filter by. Available values:pinned,unread,read(default:unread,pinned)
๐ pin, p
Mark all filtered or a specific notification as pinned. Putting it at the top where it belongs, main character behaviour ๐
--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ use a different Gitea Login. Optional--mine,-mโ show notifications across all your repositories instead of the current repository only--output,-o=""โ output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ discover Gitea login from remote. Optional--repo,-r=""โ override local repository path or gitea repository slug to interact with. Optional--states,-s=""โ comma-separated list of notification states to filter by. Available values:pinned,unread,read(default:unread,pinned)
๐ unpin
Unpin all pinned or a specific notification. Demoting them, respectfully ๐
--limit,--lm=""โ specify limit of items per page (default:30)--login,-l=""โ use a different Gitea Login. Optional--mine,-mโ show notifications across all your repositories instead of the current repository only--output,-o=""โ output format. (simple,table,csv,tsv,yaml,json)--page,-p=""โ specify page (default:1)--remote,-R=""โ discover Gitea login from remote. Optional--repo,-r=""โ override local repository path or gitea repository slug to interact with. Optional--states,-s=""โ comma-separated list of notification states to filter by. Available values:pinned,unread,read(default:unread,pinned)
๐ฅ clone, C
Clone a repository locally. Bringing the whole thing home ๐ โจ
--depth,-d=""โ num commits to fetch, defaults to all (default:0)--login,-l=""โ use a different Gitea Login. Optional
๐ admin, a
Operations requiring admin access on the Gitea instance. Big boss energy only, no exceptions ๐ฅ
๐ฅ users, u
Manage registered users. The whole population of your instance, babes ๐ซถ
--fields,-fโ comma-separated list of fields you wanna print. The available values are literally:id,login,full_name,email,avatar_url,language,is_admin,restricted,prohibit_login,location,website,description,visibility,activated,lastlogin_at,created_atโ and if you don't say anything, it defaults toid,login,full_name,email,activated. โจ--limit,--lmโ how many items per page you want (default:30). not too many, not too few, we love a manageable scroll ๐--login,-lโ use a different Gitea login. Optional, bestie. ๐--output,-oโ output format. Your options aresimple,table,csv,tsv,yaml,json. Pick your fighter. ๐--page,-pโ which page you're on (default:1). No skipping to the end, okay? ๐--remote,-Rโ discover the Gitea login from the remote. Optional. ๐ฆ--repo,-rโ override the local repository path, or the gitea repository slug, to interact with. Optional. ๐
๐ธ list, ls ๐ธ
List Users. That's it. That's the whole job. And she does it flawlessly. ๐
--fields,-fโ comma-separated list of fields you wanna print. Available values, and yes this is the whole menu:id,login,full_name,email,avatar_url,language,is_admin,restricted,prohibit_login,location,website,description,visibility,activated,lastlogin_at,created_at. Default isid,login,full_name,email,activated. ๐--limit,--lmโ how many items per page (default:30). โญ--login,-lโ use a different Gitea login. Optional. ๐--output,-oโ output format:simple,table,csv,tsv,yaml,json. ๐--page,-pโ which page (default:1). ๐ฅ--remote,-Rโ discover the Gitea login from the remote. Optional. ๐--repo,-rโ override the local repository path or gitea repository slug to interact with. Optional. ๐ฆ
okay that's the whole page, bestie, you made it to the end ๐ซถ this istea-cli(1), dated 2026-01-09, and honestly? iconic. go forth andtearesponsibly ๐ โจ
๐ฆ where this page comes from
- ubuntu resolute: tea-cli 0.11.1-1 ยท MIT
- ubuntu stonking: tea-cli 0.11.1-1 ยท MIT
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms