mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
fix(repo): README lookup like Gitea, clearer branch/org errors, clone-after-create report, mirror interval 0 and search sort (follow gh)
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
16 files changed
+211
-37
No files matched your search
@@ -273,7 +273,7 @@ $ tea repo view alice/project --web`,
|
||||
}
|
||||
view.Flags().BoolVarP(&web, "web", "w", false, "Open the repository in the browser")
|
||||
view.Flags().StringVarP(&branch, "branch", "b", "", "Show the README of this branch (default: the default branch)")
|
||||
_ = view.RegisterFlagCompletionFunc("branch", a.completeBranches())
|
||||
_ = view.RegisterFlagCompletionFunc("branch", a.completeArgumentBranches())
|
||||
view.ValidArgsFunction = a.completeRepos()
|
||||
return view
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user