diff --git a/internal/cmd/deploy/cmd_deploy.go b/internal/cmd/deploy/cmd_deploy.go index a26f988f..df2d81e9 100644 --- a/internal/cmd/deploy/cmd_deploy.go +++ b/internal/cmd/deploy/cmd_deploy.go @@ -44,10 +44,10 @@ var appsCmd = &cobra.Command{ } var dbsCmd = &cobra.Command{ - Use: "databases", - Short: "List Coolify databases", + Use: "databases", + Short: "List Coolify databases", Aliases: []string{"dbs", "db"}, - RunE: runListDatabases, + RunE: runListDatabases, } var servicesCmd = &cobra.Command{ diff --git a/pkg/ansible/types.go b/pkg/ansible/types.go index 79fe0543..5a6939f6 100644 --- a/pkg/ansible/types.go +++ b/pkg/ansible/types.go @@ -109,11 +109,11 @@ type Task struct { // LoopControl controls loop behavior. type LoopControl struct { - LoopVar string `yaml:"loop_var,omitempty"` - IndexVar string `yaml:"index_var,omitempty"` - Label string `yaml:"label,omitempty"` - Pause int `yaml:"pause,omitempty"` - Extended bool `yaml:"extended,omitempty"` + LoopVar string `yaml:"loop_var,omitempty"` + IndexVar string `yaml:"index_var,omitempty"` + Label string `yaml:"label,omitempty"` + Pause int `yaml:"pause,omitempty"` + Extended bool `yaml:"extended,omitempty"` } // TaskResult holds the result of executing a task. @@ -137,9 +137,9 @@ type Inventory struct { // InventoryGroup represents a group in inventory. type InventoryGroup struct { - Hosts map[string]*Host `yaml:"hosts,omitempty"` + Hosts map[string]*Host `yaml:"hosts,omitempty"` Children map[string]*InventoryGroup `yaml:"children,omitempty"` - Vars map[string]any `yaml:"vars,omitempty"` + Vars map[string]any `yaml:"vars,omitempty"` } // Host represents a host in inventory.