From 135f6edbd9389bc4783f13c26aed0a74d3c8aca0 Mon Sep 17 00:00:00 2001 From: James O'Doherty Date: Fri, 22 May 2026 16:17:55 -0400 Subject: refactor: unify path management and complete profile management system - Create internal/paths package for unified config and runtime directory resolution - Implement robust WireGuard config parsing in pkg/wgconf - Implement profile management subcommands: list, import, configure, delete, stop - Fix namespace pinning path collisions (separating .ns files from pids directories) - Implement and verify namespace unpinning logic - Fix linting errors and improve error handling across the project --- internal/cli/cli_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/cli/cli_test.go') diff --git a/internal/cli/cli_test.go b/internal/cli/cli_test.go index 0274fbc..a0d6263 100644 --- a/internal/cli/cli_test.go +++ b/internal/cli/cli_test.go @@ -1,8 +1,8 @@ package cli import ( - "testing" "strings" + "testing" ) func TestAppRun_ProfileDirInjection(t *testing.T) { @@ -25,7 +25,7 @@ func TestAppRun_ProfileDirInjection(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { app := NewApp(tt.args) - app.ConfigDir = tmpDir // Inject temporary directory + app.ConfigDir = tmpDir // Inject temporary directory app.RuntimeBaseDir = tmpDir // Inject temporary directory for PID tracking err := app.Run() -- cgit v1.2.3