Skip to content

Commit 09b5fc9

Browse files
feat: add --quiet option to site_manager for silent image optimization
1 parent 02d2296 commit 09b5fc9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build-0xfab1.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
3838
- name: Optimize images
3939
run: |
40-
python site_manager.py optimize --mode all
40+
python site_manager.py optimize --mode all --quiet
4141
4242
- name: Deploy Github Pages
4343
env:

site_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,7 @@ def main():
650650
opt_parser.add_argument('--mode', default='all', choices=['convert', 'update', 'cleanup', 'all'])
651651
opt_parser.add_argument('--quality', type=int, default=85, help='WebP quality (1-100)')
652652
opt_parser.add_argument('--lossless', action='store_true', help='Use lossless compression')
653+
opt_parser.add_argument('--quiet', action='store_true', help='Quiet output')
653654

654655
# Stats command
655656
stats_parser = subparsers.add_parser('stats', help='Generate statistics')

0 commit comments

Comments
 (0)