Обновить README.md
This commit is contained in:
parent
f96e966dc6
commit
0d7a101b99
24
README.md
24
README.md
@ -1,19 +1,21 @@
|
|||||||
## autobudilnik
|
## 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
|
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:
|
### syntax:
|
||||||
ruby autobudilnik.rb [-a \<audiofilepath\>] [-t \<time\>] [-c \<configfilepath\>]
|
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:
|
### configuration file:
|
||||||
<code>waittime seconds
|
<code>waittime seconds
|
||||||
configfilepath path/to/config</code>
|
configfilepath path/to/config</code>
|
||||||
|
|
||||||
### TODO
|
### TODO
|
||||||
1. suffixes 'm', 's' and 'h' for time
|
1. UI
|
||||||
2. UI
|
2. automatic a config file creation?
|
||||||
2. automatic a config file creation
|
|
||||||
|
|
||||||
|
|
||||||
## НА РУССКОМ
|
## НА РУССКОМ
|
||||||
@ -22,9 +24,14 @@ configfilepath path/to/config</code>
|
|||||||
### СИНТАКСИС:
|
### СИНТАКСИС:
|
||||||
ruby autobudilnik.rb [-a \<audiofilepath\>] [-t \<time\>] [-c \<configfilepath\>]
|
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>
|
configfilepath ПУТЬ/К/КОНФИГУ</code>
|
||||||
|
|
||||||
### ЗАДАЧИ
|
### ЗАДАЧИ
|
||||||
1. ПОДДЕРЖКА ПРИСТАВОК 'm' 's' И 'h' В КОНЦЕ ДЛЯ ВРЕМЕНИ
|
1. ПОЛЬЗОВАТСКИЙ ИНТЕРФЕЙС
|
||||||
2. ПОЛЬЗОВАТСКИЙ ИНТЕРФЕЙС
|
2. АВТОМАТИЧЕСКОЕ СОЗДАНИЕ ФАЙЛА КОНФИГА?
|
||||||
3. АВТОМАТИЧЕСКОЕ СОЗДАНИЕ ФАЙЛА КОНФИГА
|
|
Loading…
x
Reference in New Issue
Block a user