From f79a284458751a7a513dc989b252df66d0b3449c Mon Sep 17 00:00:00 2001 From: felipesantos2 Date: Sun, 15 Nov 2026 19:24:44 -0300 Subject: [PATCH 1/8] feat: create projects from templates Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- docs/cli.md | 10 + internal/api/api.go | 1 + internal/api/appsapi.go | 83 ++++ internal/api/appsapi_test.go | 116 +++++ internal/apps/apps.conf | 11 + internal/apps/apps.go | 449 ++++++++++++++++++ internal/apps/apps_test.go | 131 +++++ internal/cli/app.go | 98 ++++ internal/cli/app_test.go | 447 +++++++++++++++++ internal/cli/passthrough_linux_test.go | 1 + internal/cli/root.go | 2 +- linux/src/api.rs | 76 +++ linux/src/panes/sites.rs | 272 ++++++++++- macos/Sources/FlockKit/Client.swift | 13 + macos/Sources/FlockKit/Models.swift | 66 +++ .../Sources/FlockUI/Settings/SitesPane.swift | 203 ++++++++ macos/Tests/FlockKitTests/ClientTests.swift | 39 ++ windows/Flock.Kit.Tests/ClientTests.cs | 28 ++ windows/Flock.Kit/FlockClient.cs | 10 + windows/Flock.Kit/Models.cs | 13 + .../Flock.Tray/Features/Sites/SitesService.cs | 24 + windows/Flock.Tray/Settings/SitesPane.xaml | 8 +- windows/Flock.Tray/Settings/SitesPane.xaml.cs | 151 ++++++ 23 files changed, 2244 insertions(+), 8 deletions(-) create mode 100644 internal/api/appsapi.go create mode 100644 internal/api/appsapi_test.go create mode 100644 internal/apps/apps.conf create mode 100644 internal/apps/apps.go create mode 100644 internal/apps/apps_test.go create mode 100644 internal/cli/app.go create mode 100644 internal/cli/app_test.go diff --git a/docs/cli.md b/docs/cli.md index 09b33de8..6700f249 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -24,6 +24,7 @@ This page lists the `flock` commands. The other pages show where to find each ac | Command | Description | | --- | --- | +| `flock app create [--type