[PR #61] [MERGED] Refactor cmdVersion to cli package #1231

Closed
opened 2025-12-29 02:29:18 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/61
Author: @ohdearaugustin
Created: 7/25/2021
Status: Merged
Merged: 7/25/2021
Merged by: @juanfont

Base: mainHead: topic/refactor-cli-versionCmd


📝 Commits (1)

  • 48ec51d Refactor cmdVersion to cli package

📊 Changes

2 files changed (+24 additions, -18 deletions)

View changed files

cmd/headscale/cli/version.go (+23 -0)
📝 cmd/headscale/headscale.go (+1 -18)

📄 Description

Move the versionCmd to it's own file in cmd/cli/. To make code more clean and coherent. No functional impact on codebase.


🔄 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/juanfont/headscale/pull/61 **Author:** [@ohdearaugustin](https://github.com/ohdearaugustin) **Created:** 7/25/2021 **Status:** ✅ Merged **Merged:** 7/25/2021 **Merged by:** [@juanfont](https://github.com/juanfont) **Base:** `main` ← **Head:** `topic/refactor-cli-versionCmd` --- ### 📝 Commits (1) - [`48ec51d`](https://github.com/juanfont/headscale/commit/48ec51d166bf36cbcd6815ae9dc3ca708f1acca5) Refactor cmdVersion to cli package ### 📊 Changes **2 files changed** (+24 additions, -18 deletions) <details> <summary>View changed files</summary> ➕ `cmd/headscale/cli/version.go` (+23 -0) 📝 `cmd/headscale/headscale.go` (+1 -18) </details> ### 📄 Description Move the versionCmd to it's own file in cmd/cli/. To make code more clean and coherent. No functional impact on codebase. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:29:18 +01:00
adam closed this issue 2025-12-29 02:29:18 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1231