mirror of
https://github.com/shadoll/just-commons.git
synced 2026-08-28 03:27:10 +00:00
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
This commit is contained in:
+4
-4
@@ -1,7 +1,7 @@
|
||||
# Universal volume management operations
|
||||
|
||||
# Clean all volumes used by compose file (DESTRUCTIVE!)
|
||||
[group: 'volumes']
|
||||
[group('volumes')]
|
||||
volumes-clean-all compose-file="":
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
@@ -39,7 +39,7 @@ volumes-clean-all compose-file="":
|
||||
echo -e "{{GREEN}}✓ All volumes removed{{NC}}"
|
||||
|
||||
# Remove specific volume by name (DESTRUCTIVE!)
|
||||
[group: 'volumes']
|
||||
[group('volumes')]
|
||||
volumes-remove volume_name:
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
@@ -75,7 +75,7 @@ volumes-remove volume_name:
|
||||
echo -e "{{GREEN}}✓ Volume '$volume_name' removed{{NC}}"
|
||||
|
||||
# Remove volumes matching pattern (DESTRUCTIVE!)
|
||||
[group: 'volumes']
|
||||
[group('volumes')]
|
||||
volumes-remove-pattern pattern:
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
@@ -120,7 +120,7 @@ volumes-remove-pattern pattern:
|
||||
echo -e "{{GREEN}}✓ Matching volumes removed{{NC}}"
|
||||
|
||||
# List all volumes or filter by pattern
|
||||
[group: 'volumes']
|
||||
[group('volumes')]
|
||||
volumes-list pattern="":
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
Reference in New Issue
Block a user