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
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
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
80cefd02dd
Add group annotations for container, database, and volume management operations
2025-09-27 00:44:58 +03:00
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
f520996be9
Add database management recipes for PostgreSQL and MySQL
2025-09-26 21:57:49 +03:00
897093f744
Refactor: Add core.just and fix universal structure
...
- Add core.just with common utilities:
- _detect_runtime: Detect Docker/Podman
- _detect_compose: Detect compose command
- env-check: Environment validation
- Fix container.just to be fully universal (remove servass-specific code)
- Move _detect_runtime from images.just to core.just
- Update container.just to use proper universal operations
Universal structure now:
- core.just: Common utilities
- container.just: Universal container operations
- registry.just: Registry authentication
- images.just: Universal image operations
2025-09-26 21:23:45 +03:00
30acfc658a
Initial commit: Add universal Just recipes
...
- container.just: Universal container operations (start, stop, logs, shell, exec, status)
- registry.just: GitHub Container Registry authentication
- images.just: Universal image build/push/pull operations
- README.md: Documentation and usage instructions
These recipes work universally across any project with containerfiles.
2025-09-26 21:14:43 +03:00