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
+1 -1
View File
@@ -65,7 +65,7 @@ var initCmd = &cobra.Command{
var workspaceNames []string
for _, workspace := range workspaces {
workspaceNames = append(workspaceNames, workspace.Name)
workspaceNames = append(workspaceNames, fmt.Sprintf("%s (%s)", workspace.Name, workspace.Organization))
}
prompt := promptui.Select{