[PR #580] [CLOSED] allow the user to see their node tags from cli using --show-tags #1496

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

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/580
Author: @deonthomasgy
Created: 5/11/2022
Status: Closed

Base: mainHead: dev/thomas/show-tags


📝 Commits (5)

  • a93114e Show tags with --show-tags argument
  • 41c0b48 clean up code
  • 5e8daf3 commit for gen/ go.mod go.sum
  • 331fd3c Merge branch 'juanfont:main' into dev/thomas/show-tags
  • 288bc86 remove newline

📊 Changes

9 files changed (+322 additions, -179 deletions)

View changed files

📝 cmd/headscale/cli/nodes.go (+45 -27)
📝 gen/go/headscale/v1/headscale.pb.gw.go (+120 -80)
📝 gen/go/headscale/v1/headscale_grpc.pb.go (+4 -0)
📝 gen/go/headscale/v1/machine.pb.go (+81 -71)
📝 gen/openapiv2/headscale/v1/headscale.swagger.json (+6 -0)
📝 go.mod (+16 -1)
📝 go.sum (+47 -0)
📝 machine.go (+1 -0)
📝 proto/headscale/v1/machine.proto (+2 -0)

📄 Description

new cmd
headscale node list --show-tags

before
image

after
image

  • read the CONTRIBUTING guidelines
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

🔄 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/580 **Author:** [@deonthomasgy](https://github.com/deonthomasgy) **Created:** 5/11/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dev/thomas/show-tags` --- ### 📝 Commits (5) - [`a93114e`](https://github.com/juanfont/headscale/commit/a93114e0bf921772c1756ecab75c1c0540dd9b7f) Show tags with --show-tags argument - [`41c0b48`](https://github.com/juanfont/headscale/commit/41c0b482a3992580b85659c8b408c95d15f88984) clean up code - [`5e8daf3`](https://github.com/juanfont/headscale/commit/5e8daf342b5df5133a188b11a4793bf684c6ea95) commit for gen/ go.mod go.sum - [`331fd3c`](https://github.com/juanfont/headscale/commit/331fd3c1ac3527b45c0871e9dd2d68b16494c669) Merge branch 'juanfont:main' into dev/thomas/show-tags - [`288bc86`](https://github.com/juanfont/headscale/commit/288bc869c2ebe2bca9e497e57fa0de16694eee85) remove newline ### 📊 Changes **9 files changed** (+322 additions, -179 deletions) <details> <summary>View changed files</summary> 📝 `cmd/headscale/cli/nodes.go` (+45 -27) 📝 `gen/go/headscale/v1/headscale.pb.gw.go` (+120 -80) 📝 `gen/go/headscale/v1/headscale_grpc.pb.go` (+4 -0) 📝 `gen/go/headscale/v1/machine.pb.go` (+81 -71) 📝 `gen/openapiv2/headscale/v1/headscale.swagger.json` (+6 -0) 📝 `go.mod` (+16 -1) 📝 `go.sum` (+47 -0) 📝 `machine.go` (+1 -0) 📝 `proto/headscale/v1/machine.proto` (+2 -0) </details> ### 📄 Description new cmd `headscale node list --show-tags` before ![image](https://user-images.githubusercontent.com/150036/167950591-864c413f-e86c-4afc-929b-a8727acade54.png) after ![image](https://user-images.githubusercontent.com/150036/167950633-2d8f1298-cafd-4bc4-8b16-9e6d8988a625.png) <!-- Please tick if the following things apply. You… --> - [x] read the [CONTRIBUTING guidelines](README.md#user-content-contributing) - [x] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [ ] updated CHANGELOG.md <!-- If applicable, please reference the issue using `Fixes #XXX` and add tests to cover your new code. --> --- <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:30:17 +01:00
adam closed this issue 2025-12-29 02:30:17 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1496