cli/pkg/cmd/variable
Andy Feller 22a5a4c899 Update gh variable get to use repo host
Closes #9274

This change addresses a bug where repository and repository environment variables are not being retrieved from the appropriate host, causing GHES users to fail without specifying `GH_HOST` to force `gh variable set` to do the right thing.

In addition, the tests for this command have been updated to check both github.com and GHES variations to ensure this works.
2024-08-02 10:36:32 -04:00
..
delete Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
get Update gh variable get to use repo host 2024-08-02 10:36:32 -04:00
list Fetch variable selected repo relationship when required 2024-06-25 17:11:56 +02:00
set Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
shared Add createdAt field to Variable type 2024-05-26 00:05:04 +01:00
variable.go Add a gh variable get FOO command (#9106) 2024-05-23 17:11:53 +02:00