[PR #2951] [MERGED] cli: better formatting of lists #2959

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

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2951
Author: @kradalby
Created: 12/9/2025
Status: Merged
Merged: 12/10/2025
Merged by: @kradalby

Base: mainHead: kradalby/route-cli-style


📝 Commits (1)

  • 51917e2 cli: better formatting of lists

📊 Changes

2 files changed (+14 additions, -11 deletions)

View changed files

📝 cmd/headscale/cli/nodes.go (+12 -9)
📝 cmd/headscale/cli/preauthkeys.go (+2 -2)

📄 Description

This commit changes lists in cli to be new line instead of commas, making them easier to read when they are large.

Also adds a separator between items in tables with multi lines list.

Fixes #2612


🔄 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/2951 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 12/9/2025 **Status:** ✅ Merged **Merged:** 12/10/2025 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `kradalby/route-cli-style` --- ### 📝 Commits (1) - [`51917e2`](https://github.com/juanfont/headscale/commit/51917e22fcf6ec191541381febe5b55b24df53cd) cli: better formatting of lists ### 📊 Changes **2 files changed** (+14 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `cmd/headscale/cli/nodes.go` (+12 -9) 📝 `cmd/headscale/cli/preauthkeys.go` (+2 -2) </details> ### 📄 Description This commit changes lists in cli to be new line instead of commas, making them easier to read when they are large. Also adds a separator between items in tables with multi lines list. Fixes #2612 --- <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 04:19:49 +01:00
adam closed this issue 2025-12-29 04:19:49 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2959