From ca25d437a9e30018774c12645b8ef4e165c0f39a Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sat, 1 Jan 2022 17:35:44 +0100 Subject: [PATCH] init --- conf.d/tea_completion.fish | 463 +++++++++++++++++++++++++++++++++++++ fish_variables | 32 +++ functions/a.fish | 4 + 3 files changed, 499 insertions(+) create mode 100644 conf.d/tea_completion.fish create mode 100644 fish_variables create mode 100644 functions/a.fish diff --git a/conf.d/tea_completion.fish b/conf.d/tea_completion.fish new file mode 100644 index 0000000..852de91 --- /dev/null +++ b/conf.d/tea_completion.fish @@ -0,0 +1,463 @@ +# tea fish shell completion + +function __fish_tea_no_subcommand --description 'Test if there has been any subcommand yet' + for i in (commandline -opc) + if contains -- $i logins login list ls add edit e delete rm default logout shellcompletion autocomplete issues issue i list ls create c reopen open close pulls pull pr list ls checkout co clean create c close reopen open review approve lgtm a reject merge m labels label list ls create c update delete rm milestones milestone ms list ls create c close delete rm reopen open issues i add a remove r releases release r list ls create c delete rm edit e times time t add a delete rm reset list ls organizations organization org list ls delete rm repos repo list ls search s create c comment c open o notifications notification n help h + return 1 + end + end + return 0 +end + +complete -c tea -n '__fish_tea_no_subcommand' -f -l help -s h -d 'show help' +complete -c tea -n '__fish_tea_no_subcommand' -f -l version -s v -d 'print the version' +complete -c tea -n '__fish_tea_no_subcommand' -f -l help -s h -d 'show help' +complete -c tea -n '__fish_tea_no_subcommand' -f -l version -s v -d 'print the version' +complete -c tea -n '__fish_seen_subcommand_from logins login' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_tea_no_subcommand' -a 'logins login' -d 'Log in to a Gitea server' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from logins login' -a 'list ls' -d 'List Gitea logins' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from add' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from logins login' -a 'add' -d 'Add a Gitea login' +complete -c tea -n '__fish_seen_subcommand_from add' -f -l name -s n -r -d 'Login name' +complete -c tea -n '__fish_seen_subcommand_from add' -f -l url -s u -r -d 'Server URL' +complete -c tea -n '__fish_seen_subcommand_from add' -f -l token -s t -r -d 'Access token. Can be obtained from Settings > Applications' +complete -c tea -n '__fish_seen_subcommand_from add' -f -l user -r -d 'User for basic auth (will create token)' +complete -c tea -n '__fish_seen_subcommand_from add' -f -l password -s pwd -r -d 'Password for basic auth (will create token)' +complete -c tea -n '__fish_seen_subcommand_from add' -f -l ssh-key -s s -r -d 'Path to a SSH key to use, overrides auto-discovery' +complete -c tea -n '__fish_seen_subcommand_from add' -f -l insecure -s i -d 'Disable TLS verification' +complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from logins login' -a 'edit e' -d 'Edit Gitea logins' +complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from logins login' -a 'delete rm' -d 'Remove a Gitea login' +complete -c tea -n '__fish_seen_subcommand_from default' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from logins login' -a 'default' -d 'Get or Set Default Login' +complete -c tea -n '__fish_seen_subcommand_from default' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from logout' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_tea_no_subcommand' -a 'logout' -d 'Log out from a Gitea server' +complete -c tea -n '__fish_seen_subcommand_from shellcompletion autocomplete' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_tea_no_subcommand' -a 'shellcompletion autocomplete' -d 'Install shell completion for tea' +complete -c tea -n '__fish_seen_subcommand_from shellcompletion autocomplete' -f -l install -d 'Persist in shell config instead of printing commands' +complete -c tea -n '__fish_seen_subcommand_from shellcompletion autocomplete' -f -l help -s h -d 'show help' +complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_tea_no_subcommand' -a 'issues issue i' -d 'List, create and update issues' +complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l comments -d 'Wether to display comments (will prompt if not provided & run interactively)' +complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l fields -s f -r -d '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 + ' +complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l state -r -d 'Filter by state (all|open|closed)' +complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l page -s p -r -d 'specify page, default is 1' +complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l limit -s lm -r -d 'specify limit of items per page' +complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from issues issue i' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from issues issue i' -a 'list ls' -d 'List issues of the repository' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l fields -s f -r -d '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 + ' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l state -r -d 'Filter by state (all|open|closed)' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l page -s p -r -d 'specify page, default is 1' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l limit -s lm -r -d 'specify limit of items per page' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from issues issue i' -a 'create c' -d 'Create an issue on repository' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l title -s t -r +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l description -s d -r +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l assignees -s a -r -d 'Comma-separated list of usernames to assign' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l labels -s L -r -d 'Comma-separated list of labels to assign' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l deadline -s D -r -d 'Deadline timestamp to assign' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l milestone -s m -r -d 'Milestone to assign' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from issues issue i' -a 'reopen open' -d 'Change state of an issue to \'open\'' +complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from close' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from issues issue i' -a 'close' -d 'Change state of an issue to \'closed\'' +complete -c tea -n '__fish_seen_subcommand_from close' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from close' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from close' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from close' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_tea_no_subcommand' -a 'pulls pull pr' -d 'Manage and checkout pull requests' +complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l comments -d 'Wether to display comments (will prompt if not provided & run interactively)' +complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l state -r -d 'Filter by state (all|open|closed)' +complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l page -s p -r -d 'specify page, default is 1' +complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l limit -s lm -r -d 'specify limit of items per page' +complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from pulls pull pr' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'list ls' -d 'List pull requests of the repository' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l state -r -d 'Filter by state (all|open|closed)' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l page -s p -r -d 'specify page, default is 1' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l limit -s lm -r -d 'specify limit of items per page' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from checkout co' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'checkout co' -d 'Locally check out the given PR' +complete -c tea -n '__fish_seen_subcommand_from checkout co' -f -l branch -s b -d 'Create a local branch if it doesn\'t exist yet' +complete -c tea -n '__fish_seen_subcommand_from checkout co' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from checkout co' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from checkout co' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from checkout co' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from clean' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'clean' -d 'Deletes local & remote feature-branches for a closed pull request' +complete -c tea -n '__fish_seen_subcommand_from clean' -f -l ignore-sha -d 'Find the local branch by name instead of commit hash (less precise)' +complete -c tea -n '__fish_seen_subcommand_from clean' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from clean' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from clean' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from clean' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'create c' -d 'Create a pull-request' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l head -r -d 'Set head branch (default is current one)' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l base -s b -r -d 'Set base branch (default is default branch)' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l title -s t -r +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l description -s d -r +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l assignees -s a -r -d 'Comma-separated list of usernames to assign' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l labels -s L -r -d 'Comma-separated list of labels to assign' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l deadline -s D -r -d 'Deadline timestamp to assign' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l milestone -s m -r -d 'Milestone to assign' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from close' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'close' -d 'Change state of a pull request to \'closed\'' +complete -c tea -n '__fish_seen_subcommand_from close' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from close' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from close' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from close' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'reopen open' -d 'Change state of a pull request to \'open\'' +complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from review' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'review' -d 'Interactively review a pull request' +complete -c tea -n '__fish_seen_subcommand_from review' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from review' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from review' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from review' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from approve lgtm a' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'approve lgtm a' -d 'Approve a pull request' +complete -c tea -n '__fish_seen_subcommand_from approve lgtm a' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from approve lgtm a' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from approve lgtm a' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from approve lgtm a' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from reject' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'reject' -d 'Request changes to a pull request' +complete -c tea -n '__fish_seen_subcommand_from reject' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from reject' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from reject' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from reject' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from merge m' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from pulls pull pr' -a 'merge m' -d 'Merge a pull request' +complete -c tea -n '__fish_seen_subcommand_from merge m' -f -l style -s s -r -d 'Kind of merge to perform: merge, rebase, squash, rebase-merge' +complete -c tea -n '__fish_seen_subcommand_from merge m' -f -l title -s t -r -d 'Merge commit title' +complete -c tea -n '__fish_seen_subcommand_from merge m' -f -l message -s m -r -d 'Merge commit message' +complete -c tea -n '__fish_seen_subcommand_from merge m' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from merge m' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from merge m' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from merge m' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from labels label' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_tea_no_subcommand' -a 'labels label' -d 'Manage issue labels' +complete -c tea -n '__fish_seen_subcommand_from labels label' -f -l save -s s -d 'Save all the labels as a file' +complete -c tea -n '__fish_seen_subcommand_from labels label' -f -l page -s p -r -d 'specify page, default is 1' +complete -c tea -n '__fish_seen_subcommand_from labels label' -f -l limit -s lm -r -d 'specify limit of items per page' +complete -c tea -n '__fish_seen_subcommand_from labels label' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from labels label' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from labels label' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from labels label' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from labels label' -a 'list ls' -d 'List labels' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l save -s s -d 'Save all the labels as a file' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l page -s p -r -d 'specify page, default is 1' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l limit -s lm -r -d 'specify limit of items per page' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from labels label' -a 'create c' -d 'Create a label' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l name -r -d 'label name' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l color -r -d 'label color value' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l description -r -d 'label description' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l file -r -d 'indicate a label file' +complete -c tea -n '__fish_seen_subcommand_from update' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from labels label' -a 'update' -d 'Update a label' +complete -c tea -n '__fish_seen_subcommand_from update' -f -l id -r -d 'label id' +complete -c tea -n '__fish_seen_subcommand_from update' -f -l name -r -d 'label name' +complete -c tea -n '__fish_seen_subcommand_from update' -f -l color -r -d 'label color value' +complete -c tea -n '__fish_seen_subcommand_from update' -f -l description -r -d 'label description' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from labels label' -a 'delete rm' -d 'Delete a label' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l id -r -d 'label id' +complete -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_tea_no_subcommand' -a 'milestones milestone ms' -d 'List and create milestones' +complete -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -f -l state -r -d 'Filter by milestone state (all|open|closed)' +complete -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -f -l page -s p -r -d 'specify page, default is 1' +complete -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -f -l limit -s lm -r -d 'specify limit of items per page' +complete -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -a 'list ls' -d 'List milestones of the repository' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l state -r -d 'Filter by milestone state (all|open|closed)' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l page -s p -r -d 'specify page, default is 1' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l limit -s lm -r -d 'specify limit of items per page' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -a 'create c' -d 'Create an milestone on repository' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l title -s t -r -d 'milestone title to create' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l description -s d -r -d 'milestone description to create' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l deadline -s expires -s x -r -d 'set milestone deadline (default is no due date)' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l state -r -d 'set milestone state (default is open)' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from close' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -a 'close' -d 'Change state of an milestone to \'closed\'' +complete -c tea -n '__fish_seen_subcommand_from close' -f -l force -s f -d 'delete milestone' +complete -c tea -n '__fish_seen_subcommand_from close' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from close' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from close' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from close' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -a 'delete rm' -d 'delete a milestone' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -a 'reopen open' -d 'Change state of an milestone to \'open\'' +complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from reopen open' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from milestones milestone ms' -a 'issues i' -d 'manage issue/pull of an milestone' +complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l state -r -d 'Filter by issue state (all|open|closed)' +complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l kind -r -d 'Filter by kind (issue|pull)' +complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l page -s p -r -d 'specify page, default is 1' +complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l limit -s lm -r -d 'specify limit of items per page' +complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l fields -s f -r -d '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 + ' +complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from issues i' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from add a' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from issues i' -a 'add a' -d 'Add an issue/pull to an milestone' +complete -c tea -n '__fish_seen_subcommand_from add a' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from add a' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from add a' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from add a' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from remove r' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from issues i' -a 'remove r' -d 'Remove an issue/pull to an milestone' +complete -c tea -n '__fish_seen_subcommand_from remove r' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from remove r' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from remove r' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from remove r' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from releases release r' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_tea_no_subcommand' -a 'releases release r' -d 'Manage releases' +complete -c tea -n '__fish_seen_subcommand_from releases release r' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from releases release r' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from releases release r' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from releases release r' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from releases release r' -a 'list ls' -d 'List Releases' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l page -s p -r -d 'specify page, default is 1' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l limit -s lm -r -d 'specify limit of items per page' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from releases release r' -a 'create c' -d 'Create a release' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l tag -r -d 'Tag name' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l target -r -d 'Target refs, branch name or commit id' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l title -s t -r -d 'Release title' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l note -s n -r -d 'Release notes' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l draft -s d -d 'Is a draft' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l prerelease -s p -d 'Is a pre-release' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l asset -s a -r -d 'List of files to attach' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from releases release r' -a 'delete rm' -d 'Delete a release' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l confirm -s y -d 'Confirm deletion (required)' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l delete-tag -d 'Also delete the git tag for this release' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from releases release r' -a 'edit e' -d 'Edit a release' +complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l tag -r -d 'Change Tag' +complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l target -r -d 'Change Target' +complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l title -s t -r -d 'Change Title' +complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l note -s n -r -d 'Change Notes' +complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l draft -s d -r -d 'Mark as Draft [True/false]' +complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l prerelease -s p -r -d 'Mark as Pre-Release [True/false]' +complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from edit e' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_tea_no_subcommand' -a 'times time t' -d 'Operate on tracked times of a repository\'s issues & pulls' +complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l from -s f -r -d 'Show only times tracked after this date' +complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l until -s u -r -d 'Show only times tracked before this date' +complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l total -s t -d 'Print the total duration at the end' +complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l mine -s m -d 'Show all times tracked by you across all repositories (overrides command arguments)' +complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l fields -r -d 'Comma-separated list of fields to print. Available values: + id,created,repo,issue,user,duration + ' +complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from times time t' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from add a' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from times time t' -a 'add a' -d 'Track spent time on an issue' +complete -c tea -n '__fish_seen_subcommand_from add a' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from add a' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from add a' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from times time t' -a 'delete rm' -d 'Delete a single tracked time on an issue' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from reset' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from times time t' -a 'reset' -d 'Reset tracked time on an issue' +complete -c tea -n '__fish_seen_subcommand_from reset' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from reset' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from reset' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from times time t' -a 'list ls' -d 'List tracked times on issues & pulls' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l from -s f -r -d 'Show only times tracked after this date' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l until -s u -r -d 'Show only times tracked before this date' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l total -s t -d 'Print the total duration at the end' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l mine -s m -d 'Show all times tracked by you across all repositories (overrides command arguments)' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l fields -r -d 'Comma-separated list of fields to print. Available values: + id,created,repo,issue,user,duration + ' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from organizations organization org' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_tea_no_subcommand' -a 'organizations organization org' -d 'List, create, delete organizations' +complete -c tea -n '__fish_seen_subcommand_from organizations organization org' -f -l page -s p -r -d 'specify page, default is 1' +complete -c tea -n '__fish_seen_subcommand_from organizations organization org' -f -l limit -s lm -r -d 'specify limit of items per page' +complete -c tea -n '__fish_seen_subcommand_from organizations organization org' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from organizations organization org' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from organizations organization org' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from organizations organization org' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from organizations organization org' -a 'list ls' -d 'List Organizations' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l page -s p -r -d 'specify page, default is 1' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l limit -s lm -r -d 'specify limit of items per page' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from delete rm' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from organizations organization org' -a 'delete rm' -d 'Delete users Organizations' +complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_tea_no_subcommand' -a 'repos repo' -d 'Show repository details' +complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l watched -s w -d 'List your watched repos instead' +complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l starred -s s -d 'List your starred repos instead' +complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l fields -s f -r -d 'Comma-separated list of fields to print. Available values: + description,forks,id,name,owner,stars,ssh,updated,url,permission,type + ' +complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l type -s T -r -d 'Filter by type: fork, mirror, source' +complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l page -s p -r -d 'specify page, default is 1' +complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l limit -s lm -r -d 'specify limit of items per page' +complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from repos repo' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from repos repo' -a 'list ls' -d 'List repositories you have access to' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l watched -s w -d 'List your watched repos instead' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l starred -s s -d 'List your starred repos instead' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l fields -s f -r -d 'Comma-separated list of fields to print. Available values: + description,forks,id,name,owner,stars,ssh,updated,url,permission,type + ' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l type -s T -r -d 'Filter by type: fork, mirror, source' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l page -s p -r -d 'specify page, default is 1' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l limit -s lm -r -d 'specify limit of items per page' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from list ls' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from search s' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from repos repo' -a 'search s' -d 'Find any repo on an Gitea instance' +complete -c tea -n '__fish_seen_subcommand_from search s' -f -l topic -s t -d 'Search for term in repo topics instead of name' +complete -c tea -n '__fish_seen_subcommand_from search s' -f -l type -s T -r -d 'Filter by type: fork, mirror, source' +complete -c tea -n '__fish_seen_subcommand_from search s' -f -l owner -s O -r -d 'Filter by owner' +complete -c tea -n '__fish_seen_subcommand_from search s' -f -l private -r -d 'Filter private repos (true|false)' +complete -c tea -n '__fish_seen_subcommand_from search s' -f -l archived -r -d 'Filter archived repos (true|false)' +complete -c tea -n '__fish_seen_subcommand_from search s' -f -l fields -s f -r -d 'Comma-separated list of fields to print. Available values: + description,forks,id,name,owner,stars,ssh,updated,url,permission,type + ' +complete -c tea -n '__fish_seen_subcommand_from search s' -f -l page -s p -r -d 'specify page, default is 1' +complete -c tea -n '__fish_seen_subcommand_from search s' -f -l limit -s lm -r -d 'specify limit of items per page' +complete -c tea -n '__fish_seen_subcommand_from search s' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from search s' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_seen_subcommand_from repos repo' -a 'create c' -d 'Create a repository' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l name -s -r -d 'name of new repo' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l owner -s O -r -d 'name of repo owner' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l private -d 'make repo private' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l description -s desc -r -d 'add description to repo' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l init -d 'initialize repo' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l labels -r -d 'name of label set to add' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l gitignores -s git -r -d 'list of gitignore templates (need --init)' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l license -r -d 'add license (need --init)' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l readme -r -d 'use readme template (need --init)' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l branch -r -d 'use custom default branch (need --init)' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from create c' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from comment c' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_tea_no_subcommand' -a 'comment c' -d 'Add a comment to an issue / pr' +complete -c tea -n '__fish_seen_subcommand_from comment c' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from comment c' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from comment c' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from comment c' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from open o' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_tea_no_subcommand' -a 'open o' -d 'Open something of the repository in web browser' +complete -c tea -n '__fish_seen_subcommand_from open o' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from open o' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from open o' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_tea_no_subcommand' -a 'notifications notification n' -d 'Show notifications' +complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l all -s a -d 'show all notifications of related gitea instance' +complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l read -s rd -d 'show read notifications instead unread' +complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l pinned -s pd -d 'show pinned notifications instead unread' +complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l page -s p -r -d 'specify page, default is 1' +complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l limit -s lm -r -d 'specify limit of items per page' +complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l repo -s r -r -d 'Override local repository path or gitea repository slug to interact with. Optional' +complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l remote -s R -r -d 'Discover Gitea login from remote. Optional' +complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l login -s l -r -d 'Use a different Gitea Login. Optional' +complete -c tea -n '__fish_seen_subcommand_from notifications notification n' -f -l output -s o -r -d 'Output format. (csv, simple, table, tsv, yaml)' +complete -c tea -n '__fish_seen_subcommand_from help h' -f -l help -s h -d 'show help' +complete -r -c tea -n '__fish_tea_no_subcommand' -a 'help h' -d 'Shows a list of commands or help for one command' diff --git a/fish_variables b/fish_variables new file mode 100644 index 0000000..5d43eb7 --- /dev/null +++ b/fish_variables @@ -0,0 +1,32 @@ +# This file contains fish universal variable definitions. +# VERSION: 3.0 +SETUVAR __fish_initialized:3100 +SETUVAR fish_color_autosuggestion:555\x1ebrblack +SETUVAR fish_color_cancel:\x2dr +SETUVAR fish_color_command:005fd7 +SETUVAR fish_color_comment:990000 +SETUVAR fish_color_cwd:green +SETUVAR fish_color_cwd_root:red +SETUVAR fish_color_end:009900 +SETUVAR fish_color_error:ff0000 +SETUVAR fish_color_escape:00a6b2 +SETUVAR fish_color_history_current:\x2d\x2dbold +SETUVAR fish_color_host:normal +SETUVAR fish_color_host_remote:yellow +SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue +SETUVAR fish_color_normal:normal +SETUVAR fish_color_operator:00a6b2 +SETUVAR fish_color_param:00afff +SETUVAR fish_color_quote:999900 +SETUVAR fish_color_redirection:00afff +SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack +SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack +SETUVAR fish_color_status:red +SETUVAR fish_color_user:brgreen +SETUVAR fish_color_valid_path:\x2d\x2dunderline +SETUVAR fish_greeting:Willkommen\x20zu\x20fish\x2c\x20der\x20freundlichen\x20interaktiven\x20Shell\x0aType\x20\x60help\x60\x20for\x20instructions\x20on\x20how\x20to\x20use\x20fish +SETUVAR fish_key_bindings:fish_default_key_bindings +SETUVAR fish_pager_color_completion:\x1d +SETUVAR fish_pager_color_description:B3A06D\x1eyellow +SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline +SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan diff --git a/functions/a.fish b/functions/a.fish new file mode 100644 index 0000000..f4ca898 --- /dev/null +++ b/functions/a.fish @@ -0,0 +1,4 @@ +function a +mkdir -p /tmp/a +cd /tmp/a +end