Spike Curtis
606ae897b7
chore: refactor to directly create Client in Command Handlers ( #19760 )
...
Refactors the CLI to create the `*codersdk.Client` in the handlers. This is groundwork for changing the `rootCmd.InitClient()` to use the new `ClientOption`s.
It also improves variable locality, scoping the Client to the handler. This makes misuse less likely and reduces the memory allocations to just the command being executed, rather than allocating a Client for every command regardless of whether it is executed.
2025-09-22 17:14:07 +04:00
..
2025-09-13 08:57:26 +02:00
2025-07-28 14:46:04 +01:00
2025-08-19 13:54:42 +00:00
2025-09-22 17:14:07 +04:00
2023-11-08 14:54:48 +00:00
2025-09-22 17:14:07 +04:00
2023-11-08 14:54:48 +00:00
2025-09-22 17:14:07 +04:00
2023-11-08 14:54:48 +00:00
2025-09-22 17:14:07 +04:00
2023-11-08 14:54:48 +00:00
2025-09-22 17:14:07 +04:00
2023-11-08 14:54:48 +00:00
2025-09-22 17:14:07 +04:00
2024-03-17 09:45:26 -05:00
2024-03-15 11:24:38 -05:00
2025-09-22 17:14:07 +04:00
2025-04-04 14:04:20 -04:00
2024-09-27 14:06:16 -05:00
2024-11-13 13:44:21 -06:00
2025-08-20 23:38:09 +10:00
2025-09-22 17:14:07 +04:00
2025-01-20 17:24:22 +00:00
2025-01-20 17:24:22 +00:00
2025-01-14 16:40:26 +00:00
2025-09-22 17:14:07 +04:00
2024-11-15 14:43:32 -07:00
2025-09-22 17:14:07 +04:00
2024-03-17 09:45:26 -05:00
2024-10-04 13:17:18 +02:00
2025-04-08 14:15:14 -05:00
2024-03-17 09:45:26 -05:00
2024-03-15 11:24:38 -05:00
2025-08-19 10:52:31 +02:00
2025-01-29 14:35:04 +00:00
2025-01-03 11:15:35 -06:00
2025-07-09 09:46:31 +02:00
2025-08-20 23:38:09 +10:00
2025-09-16 13:51:26 +10:00
2025-06-23 09:12:37 +01:00
2024-09-27 14:06:16 -05:00
2025-08-12 11:37:44 -05:00
2024-09-27 14:06:16 -05:00
2023-12-19 14:40:22 -06:00
2025-09-22 17:14:07 +04:00