Добавление модуля форматирования строк splittext

This commit is contained in:
Alexander Zhirov 2025-05-15 22:54:05 +03:00
parent e753c86eb9
commit 2b7cc25396
Signed by: alexander
GPG key ID: C8D8BE544A27C511
6 changed files with 103 additions and 1 deletions

View file

@ -10,6 +10,8 @@ int main(string[] args)
.add(new Command("common", "Общего назначения")
.add(new Command("isexists",
"Проверяет наличие исполняемого файла в директориях,указанных в переменной окружения PATH"))
.add(new Command("splittext",
"Форматирует массив строк, разбивая их на строки указанной длины"))
)
.add(new Command("ncurses", "Использование библиотеки ncurses")
.add(new Command("menu", "Интерактивное консольное меню"))
@ -23,6 +25,7 @@ int main(string[] args)
argumets
.on("common", (common) { common
.on("splittext", (splittext) { formatLines(); })
.on("isexists", (isexists) { isExists(); });
})
.on("ncurses", (ncurses) { ncurses