Commit Graph
5 Commits
Author SHA1 Message Date
sha c359858ee9 Replace manual confirmations with [confirm] attribute in destructive commands
- Add [confirm] attribute to all destructive operations:
  - volumes-clean-all, volumes-remove, volumes-remove-pattern
  - postgres-drop-database, postgres-restore
  - mysql-drop-database, mysql-restore
- Remove manual read -p confirmations and conditional logic
- Simplifies code and uses Just's built-in confirmation system
- Ensures consistent confirmation behavior across all destructive operations

This provides better UX and cleaner code using Just's native features.
2025-09-27 01:44:12 +03:00
sha 5fd0e0370c Fix group attribute syntax: use correct [group('name')] format
- Change all [group: 'name'] to [group('name')] per Just documentation
- Ensures compatibility with Just 1.21.0 and resolves 'Unknown attribute group' error
- Affects all just-commons files: container, volumes, postgres, mysql, images, registry, core
2025-09-27 01:15:35 +03:00
sha e2da0282ec Fix Docker template syntax in volume commands
- Escape {{.Name}} as {{{{.Name}}}} to avoid Just variable interpolation conflicts
- Fixes syntax errors in volumes-remove and volumes-remove-pattern commands
2025-09-27 00:59:25 +03:00
sha 80cefd02dd Add group annotations for container, database, and volume management operations 2025-09-27 00:44:58 +03:00
sha 4817ca3d35 Add universal volume management operations
- volumes-clean-all: Clean all project volumes with confirmation
- volumes-clean-postgres: Clean only PostgreSQL data volumes
- volumes-clean-servapp: Clean only ServApp data volumes
- volumes-list: List project volumes by prefix

All commands use universal runtime detection from core.just
2025-09-26 23:09:43 +03:00