mirror of
https://github.com/go-gitea/tea.git
synced 2026-07-21 03:05:31 -04:00
[PR #27] [CLOSED] [WIP] 12 switch to cobra #28
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/go-gitea/tea/pull/27
Author: @root360-AndreasUlm
Created: 5/2/2019
Status: ❌ Closed
Base:
master← Head:12_switch_to_cobra📝 Commits (4)
10a9b72initial cobra implementation98b7f52added version command8a2b3a9moved version to --version flag of Cobra0bddabamigrated pulls to Cobra📊 Changes
495 files changed (+251520 additions, -66 deletions)
View changed files
📝
cmd/config.go(+5 -0)📝
cmd/pulls.go(+23 -23)➕
cmd/root.go(+99 -0)📝
go.mod(+5 -1)📝
go.sum(+36 -0)📝
main.go(+1 -42)➕
vendor/github.com/fsnotify/fsnotify/.editorconfig(+5 -0)➕
vendor/github.com/fsnotify/fsnotify/.gitignore(+6 -0)➕
vendor/github.com/fsnotify/fsnotify/.travis.yml(+30 -0)➕
vendor/github.com/fsnotify/fsnotify/AUTHORS(+52 -0)➕
vendor/github.com/fsnotify/fsnotify/CHANGELOG.md(+317 -0)➕
vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md(+77 -0)➕
vendor/github.com/fsnotify/fsnotify/LICENSE(+28 -0)➕
vendor/github.com/fsnotify/fsnotify/README.md(+79 -0)➕
vendor/github.com/fsnotify/fsnotify/fen.go(+37 -0)➕
vendor/github.com/fsnotify/fsnotify/fsnotify.go(+66 -0)➕
vendor/github.com/fsnotify/fsnotify/inotify.go(+337 -0)➕
vendor/github.com/fsnotify/fsnotify/inotify_poller.go(+187 -0)➕
vendor/github.com/fsnotify/fsnotify/kqueue.go(+521 -0)➕
vendor/github.com/fsnotify/fsnotify/open_mode_bsd.go(+11 -0)...and 80 more files
📄 Description
PR to discuss global flag options.
To show sample implementation only pulls is converted to Cobra.
After finishing discussion about CLI the other subcommands will be converted.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.