[PR #17] [MERGED] Namespace is now a flag for all the commands #1199

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

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/17
Author: @juanfont
Created: 4/30/2021
Status: Merged
Merged: 4/30/2021
Merged by: @juanfont

Base: mainHead: namespace-flag


📝 Commits (3)

  • b83318b Namespace is now a flag for all the commands
  • 5648337 Removed trailing space
  • 68c21fa Check persistnt flag errors

📊 Changes

5 files changed (+81 additions, -33 deletions)

View changed files

📝 README.md (+1 -1)
📝 cmd/headscale/cli/nodes.go (+8 -3)
📝 cmd/headscale/cli/preauthkeys.go (+19 -17)
📝 cmd/headscale/cli/routes.go (+21 -6)
📝 cmd/headscale/headscale.go (+32 -6)

📄 Description

This PR changes how namespaces are specified in the commands of Headscale. Basically mimicking how kubectl behaves.


🔄 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/17 **Author:** [@juanfont](https://github.com/juanfont) **Created:** 4/30/2021 **Status:** ✅ Merged **Merged:** 4/30/2021 **Merged by:** [@juanfont](https://github.com/juanfont) **Base:** `main` ← **Head:** `namespace-flag` --- ### 📝 Commits (3) - [`b83318b`](https://github.com/juanfont/headscale/commit/b83318bfb3d53ce7f055d145b945f3279e1242c5) Namespace is now a flag for all the commands - [`5648337`](https://github.com/juanfont/headscale/commit/5648337e68f3619c25594d86099954566b52b31a) Removed trailing space - [`68c21fa`](https://github.com/juanfont/headscale/commit/68c21faf64c9b4de64be45bf91b04791904b0700) Check persistnt flag errors ### 📊 Changes **5 files changed** (+81 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) 📝 `cmd/headscale/cli/nodes.go` (+8 -3) 📝 `cmd/headscale/cli/preauthkeys.go` (+19 -17) 📝 `cmd/headscale/cli/routes.go` (+21 -6) 📝 `cmd/headscale/headscale.go` (+32 -6) </details> ### 📄 Description This PR changes how namespaces are specified in the commands of Headscale. Basically mimicking how `kubectl` behaves. --- <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:12 +01:00
adam closed this issue 2025-12-29 02:29:12 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1199