chore(cli): formatting + version consistency

This commit is contained in:
Cory Dransfeldt 2025-06-11 13:01:36 -07:00
parent fdd556df83
commit 970061ff9d
No known key found for this signature in database
15 changed files with 83 additions and 34 deletions

View file

@ -11,6 +11,7 @@ export const updateReadingProgress = async () => {
if (!readingBooks.length) {
console.log('📖 No books currently marked as "started".');
return;
}
@ -33,6 +34,7 @@ export const updateReadingProgress = async () => {
message: '📕 New progress percentage (0100):',
validate: input => {
const num = Number(input);
return !isNaN(num) && num >= 0 && num <= 100 || 'Enter a number from 0 to 100';
}
});