Show organization name in infisical init command, to differentiate between projects of same name

This commit is contained in:
Rhythm Bhiwani
2024-03-02 23:16:11 +05:30
parent ae2706542c
commit 2192985291
4 changed files with 46 additions and 4 deletions

View File

@@ -124,10 +124,17 @@ type GetWorkSpacesResponse struct {
Name string `json:"name"`
Plan string `json:"plan,omitempty"`
V int `json:"__v"`
Organization string `json:"organization,omitempty"`
Organization string `json:"orgId,omitempty"`
} `json:"workspaces"`
}
type GetOrganizationsResponse struct {
Organizations []struct {
ID string `json:"id"`
Name string `json:"name"`
} `json:"organizations"`
}
type Secret struct {
SecretKeyCiphertext string `json:"secretKeyCiphertext,omitempty"`
SecretKeyIV string `json:"secretKeyIV,omitempty"`
@@ -505,5 +512,5 @@ type GetRawSecretsV3Response struct {
SecretComment string `json:"secretComment"`
} `json:"secrets"`
Imports []any `json:"imports"`
ETag string
ETag string
}