Обновить README.md

This commit is contained in:
anon47 2024-01-29 01:21:18 -07:00
parent 2dc10ecdbc
commit 3bf7edeac4

View File

@ -1,34 +1,40 @@
# 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
## syntax: ### syntax:
ruby autobudilnik.rb [-a \<audiofilepath\>] [-t \<time\>] [-c \<configfilepath\>] ruby autobudilnik.rb [-a \<audiofilepath\>] [-t \<time\>] [-c \<configfilepath\>]
time in seconds time in seconds
## 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. suffixes 'm', 's' and 'h' for time
2. UI 2. UI
2. automatic a config file creation 2. automatic a config file creation
# НА РУССКОМ ## НА РУССКОМ
ПРОГРАММА НА РУБИ ДЛЯ ВИНДОВС КОТОРАЯ ВКЛЮЧАЕТ БУДИЛЬНИК ЧЕРЕЗ ОПРЕДЕЛЁННОЕ ВРЕМЯ НЕИСПОЛЬЗОВАНИЕ КЛАВИАТУРЫ (КОМПЬЮТЕРА) БЕЗ СТОРОННИХ ГЕМОВ ПРОГРАММА НА РУБИ ДЛЯ ВИНДОВС КОТОРАЯ ВКЛЮЧАЕТ БУДИЛЬНИК ЧЕРЕЗ ОПРЕДЕЛЁННОЕ ВРЕМЯ НЕИСПОЛЬЗОВАНИЕ КЛАВИАТУРЫ (КОМПЬЮТЕРА) БЕЗ СТОРОННИХ ГЕМОВ
## СИНТАКСИС: ### СИНТАКСИС:
ruby autobudilnik.rb [-a \<audiofilepath\>] [-t \<time\>] [-c \<configfilepath\>] ruby autobudilnik.rb [-a \<audiofilepath\>] [-t \<time\>] [-c \<configfilepath\>]
ВРЕМЯ В СЕКУНДАХ ВРЕМЯ В СЕКУНДАХ
## ФАЙЛ КОНФИГУРАЦИИ ПАРАМЕНТЫ ОПРЕДЕЛЯЮТСЯ В ЭТИХ ПРИОРИТЕТАХ:
АРГУМЕНТЫ > СВОЙ КОНФИГ > КОНФИГ > ВСТРОЕННЫЕ ПАРАМЕТРЫ
### ФАЙЛ КОНФИГУРАЦИИ
<code>waittime seconds <code>waittime seconds
configfilepath ПУТЬ/К/КОНФИГУ</code> configfilepath ПУТЬ/К/КОНФИГУ</code>
## ЗАДАЧИ ### ЗАДАЧИ
1. ПОДДЕРЖКА ПРИСТАВОК 'm' 's' И 'h' В КОНЦЕ ДЛЯ ВРЕМЕНИ 1. ПОДДЕРЖКА ПРИСТАВОК 'm' 's' И 'h' В КОНЦЕ ДЛЯ ВРЕМЕНИ
2. ПОЛЬЗОВАТСКИЙ ИНТЕРФЕЙС 2. ПОЛЬЗОВАТСКИЙ ИНТЕРФЕЙС
3. АВТОМАТИЧЕСКОЕ СОЗДАНИЕ ФАЙЛА КОНФИГА 3. АВТОМАТИЧЕСКОЕ СОЗДАНИЕ ФАЙЛА КОНФИГА
ג