[PR #239] [MERGED] feat(cli): split login and up methods in the service CLI API #2640

Open
opened 2025-11-20 07:12:03 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/239
Author: @gigovich
Created: 2/20/2022
Status: Merged
Merged: 3/8/2022
Merged by: @braginini

Base: mainHead: feature-exctract-cli-from-client


📝 Commits (3)

  • 5f97913 feat(cli): split login and up methods in the service CLI API
  • 81f5edc squash: make names for all server modules same.
  • d62a828 feat(cli): implement state with error handing

📊 Changes

23 files changed (+1994 additions, -580 deletions)

View changed files

client/cmd/down.go (+37 -0)
📝 client/cmd/login.go (+42 -151)
📝 client/cmd/login_test.go (+7 -5)
📝 client/cmd/root.go (+51 -6)
📝 client/cmd/service.go (+23 -8)
📝 client/cmd/service_controller.go (+141 -112)
📝 client/cmd/service_installer.go (+53 -55)
client/cmd/status.go (+37 -0)
📝 client/cmd/testutil.go (+40 -4)
📝 client/cmd/up.go (+38 -200)
client/cmd/up_daemon_test.go (+98 -0)
📝 client/cmd/up_test.go (+12 -11)
client/internal/connect.go (+210 -0)
📝 client/internal/engine.go (+7 -3)
📝 client/internal/engine_test.go (+8 -17)
client/internal/login.go (+118 -0)
client/internal/state.go (+67 -0)
client/proto/daemon.pb.go (+566 -0)
client/proto/daemon.proto (+49 -0)
client/proto/daemon_grpc.pb.go (+217 -0)

...and 3 more files

📄 Description

No description provided


🔄 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/netbirdio/netbird/pull/239 **Author:** [@gigovich](https://github.com/gigovich) **Created:** 2/20/2022 **Status:** ✅ Merged **Merged:** 3/8/2022 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `feature-exctract-cli-from-client` --- ### 📝 Commits (3) - [`5f97913`](https://github.com/netbirdio/netbird/commit/5f97913b9047c735c54a97a6f4478b87dee3fddf) feat(cli): split login and up methods in the service CLI API - [`81f5edc`](https://github.com/netbirdio/netbird/commit/81f5edcd1019fee423b7bacbc138ce940b34cd46) squash: make names for all server modules same. - [`d62a828`](https://github.com/netbirdio/netbird/commit/d62a828b30d8d79bda2e2efee5d9222d43713501) feat(cli): implement state with error handing ### 📊 Changes **23 files changed** (+1994 additions, -580 deletions) <details> <summary>View changed files</summary> ➕ `client/cmd/down.go` (+37 -0) 📝 `client/cmd/login.go` (+42 -151) 📝 `client/cmd/login_test.go` (+7 -5) 📝 `client/cmd/root.go` (+51 -6) 📝 `client/cmd/service.go` (+23 -8) 📝 `client/cmd/service_controller.go` (+141 -112) 📝 `client/cmd/service_installer.go` (+53 -55) ➕ `client/cmd/status.go` (+37 -0) 📝 `client/cmd/testutil.go` (+40 -4) 📝 `client/cmd/up.go` (+38 -200) ➕ `client/cmd/up_daemon_test.go` (+98 -0) 📝 `client/cmd/up_test.go` (+12 -11) ➕ `client/internal/connect.go` (+210 -0) 📝 `client/internal/engine.go` (+7 -3) 📝 `client/internal/engine_test.go` (+8 -17) ➕ `client/internal/login.go` (+118 -0) ➕ `client/internal/state.go` (+67 -0) ➕ `client/proto/daemon.pb.go` (+566 -0) ➕ `client/proto/daemon.proto` (+49 -0) ➕ `client/proto/daemon_grpc.pb.go` (+217 -0) _...and 3 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2025-11-20 07:12:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2640