Обновить README.md

This commit is contained in:
anon47 2024-02-01 11:01:42 -07:00
parent f96e966dc6
commit 0d7a101b99

View File

@ -1,19 +1,21 @@
## autobudilnik
a program on ruby for windows that turns on alarm after N times when you are not using the keyboard (the computer) without any third-party gems
###warning:
for some reason system(audiofilepath) doesn't always work
### syntax:
ruby autobudilnik.rb [-a \<audiofilepath\>] [-t \<time\>] [-c \<configfilepath\>]
time in seconds
supports 's', 'm', 'h' and 'd' (24 hours) suffixes for time
### configuration file:
<code>waittime seconds
configfilepath path/to/config</code>
### TODO
1. suffixes 'm', 's' and 'h' for time
2. UI
2. automatic a config file creation
1. UI
2. automatic a config file creation?
## НА РУССКОМ
@ -22,9 +24,14 @@ configfilepath path/to/config</code>
### СИНТАКСИС:
ruby autobudilnik.rb [-a \<audiofilepath\>] [-t \<time\>] [-c \<configfilepath\>]
### ПРИМЕЧАНИЯ
ВРЕМЯ НУЖНО УКАЗАТЬ В СЕКУНДАХ
МОЖНО ИСПОЛЬЗОВАТЬ СУФФИКСЫ (ПРИСТАВКИ) ДЛЯ ВРЕМЕНИ:
's' ДЛЯ СЕКУНД (АВТОМАТИЧЕСКИЙ)
'm' ДЛЯ МИНУТ
'h' ДЛЯ ЧАСОВ
'd' ДЛЯ ДНЕЙ(24 ЧАСОВ(СУТКИ) А НЕ 12 ЧАСОВ)
### ПРИМЕЧАНИЯ
ЧЁТ system(audiofilepath) НЕ ВСЕГДА РАБОТАЕТ
ПАРАМЕНТЫ ОПРЕДЕЛЯЮТСЯ В ЭТИХ ПРИОРИТЕТАХ:
АРГУМЕНТЫ > СВОЙ КОНФИГ > КОНФИГ > ВСТРОЕННЫЕ ПАРАМЕТРЫ
@ -35,6 +42,5 @@ ruby autobudilnik.rb [-a \<audiofilepath\>] [-t \<time\>] [-c \<configfilepath\>
configfilepath ПУТЬ/К/КОНФИГУ</code>
### ЗАДАЧИ
1. ПОДДЕРЖКА ПРИСТАВОК 'm' 's' И 'h' В КОНЦЕ ДЛЯ ВРЕМЕНИ
2. ПОЛЬЗОВАТСКИЙ ИНТЕРФЕЙС
3. АВТОМАТИЧЕСКОЕ СОЗДАНИЕ ФАЙЛА КОНФИГА
1. ПОЛЬЗОВАТСКИЙ ИНТЕРФЕЙС
2. АВТОМАТИЧЕСКОЕ СОЗДАНИЕ ФАЙЛА КОНФИГА?