feat(update): add colored messages for what is being updated

This commit is contained in:
matt1432 2025-04-11 12:10:32 -04:00
parent ac072ca1c3
commit e9fffbc3b6
7 changed files with 21 additions and 2 deletions
apps/update-sources/src

View file

@ -1,5 +1,6 @@
import { readdirSync } from 'node:fs';
import { spawnSync } from 'node:child_process';
import { styleText } from 'node:util';
/* Constants */
@ -16,6 +17,8 @@ const updateImages = (imagePath: string): string | undefined => {
};
export const updateDocker = () => {
console.log(styleText(['magenta'], '\nUpdating docker images:\n'));
let updates = '';
updates += updateImages(`${FLAKE}/configurations/nos/modules/jellyfin`) ?? '';