[PR #127] [MERGED] Use cli Flags directly and not some helper funcs #15166

Closed
opened 2025-11-02 11:40:22 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/127
Author: @metalmatze
Created: 11/9/2016
Status: Merged
Merged: 11/10/2016
Merged by: @lunny

Base: masterHead: enhancement/cli


📝 Commits (2)

  • 5cd093a Use cli Flags directly and not some helper funcs
  • 90fb64b Improve formatting of admin command

📊 Changes

8 files changed (+93 additions, -69 deletions)

View changed files

📝 cmd/admin.go (+24 -5)
📝 cmd/cert.go (+29 -6)
📝 cmd/cert_stub.go (+1 -1)
cmd/cmd.go (+0 -42)
📝 cmd/dump.go (+16 -7)
📝 cmd/serve.go (+7 -4)
📝 cmd/update.go (+5 -1)
📝 cmd/web.go (+11 -3)

📄 Description

We can just use those flags directly. No need to use a helper func.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/127 **Author:** [@metalmatze](https://github.com/metalmatze) **Created:** 11/9/2016 **Status:** ✅ Merged **Merged:** 11/10/2016 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `enhancement/cli` --- ### 📝 Commits (2) - [`5cd093a`](https://github.com/go-gitea/gitea/commit/5cd093aa467ada0017f9056163346f419c0fa546) Use cli Flags directly and not some helper funcs - [`90fb64b`](https://github.com/go-gitea/gitea/commit/90fb64b2179c9e700ad87ab0d585825ff16ce5d8) Improve formatting of admin command ### 📊 Changes **8 files changed** (+93 additions, -69 deletions) <details> <summary>View changed files</summary> 📝 `cmd/admin.go` (+24 -5) 📝 `cmd/cert.go` (+29 -6) 📝 `cmd/cert_stub.go` (+1 -1) ➖ `cmd/cmd.go` (+0 -42) 📝 `cmd/dump.go` (+16 -7) 📝 `cmd/serve.go` (+7 -4) 📝 `cmd/update.go` (+5 -1) 📝 `cmd/web.go` (+11 -3) </details> ### 📄 Description We can just use those flags directly. No need to use a helper func. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:40:22 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15166