feat: add search command

This commit is contained in:
2025-02-18 17:55:25 +03:00
parent adc4a42800
commit 04523775f1
5 changed files with 226 additions and 6 deletions

View File

@ -299,13 +299,13 @@ msgstr ""
msgid "Enable interactive questions and prompts"
msgstr ""
#: main.go:90
#: main.go:91
msgid ""
"Running ALR as root is forbidden as it may cause catastrophic damage to your "
"system"
msgstr ""
#: main.go:124
#: main.go:125
msgid "Error while running app"
msgstr ""
@ -457,6 +457,46 @@ msgstr ""
msgid "Pull all repositories that have changed"
msgstr ""
#: search.go:36
msgid "Search packages"
msgstr ""
#: search.go:42
msgid "Search by name"
msgstr ""
#: search.go:47
msgid "Search by description"
msgstr ""
#: search.go:52
msgid "Search by repository"
msgstr ""
#: search.go:57
msgid "Search by provides"
msgstr ""
#: search.go:62
msgid "Format output using a Go template"
msgstr ""
#: search.go:94
msgid "At least one search parameter is required"
msgstr ""
#: search.go:100
msgid "Error db search"
msgstr ""
#: search.go:109
msgid "Error parsing format template"
msgstr ""
#: search.go:124
msgid "Error executing template"
msgstr ""
#: upgrade.go:47
msgid "Upgrade all installed packages"
msgstr ""

View File

@ -312,7 +312,7 @@ msgstr "Аргументы, которые будут переданы мене
msgid "Enable interactive questions and prompts"
msgstr "Включение интерактивных вопросов и запросов"
#: main.go:90
#: main.go:91
msgid ""
"Running ALR as root is forbidden as it may cause catastrophic damage to your "
"system"
@ -320,7 +320,7 @@ msgstr ""
"Запуск ALR от имени root запрещён, так как это может привести к "
"катастрофическому повреждению вашей системы"
#: main.go:124
#: main.go:125
msgid "Error while running app"
msgstr "Ошибка при запуске приложения"
@ -479,6 +479,49 @@ msgstr "Ошибка при удалении пакетов из базы дан
msgid "Pull all repositories that have changed"
msgstr "Скачать все изменённые репозитории"
#: search.go:36
msgid "Search packages"
msgstr ""
#: search.go:42
msgid "Search by name"
msgstr ""
#: search.go:47
msgid "Search by description"
msgstr ""
#: search.go:52
#, fuzzy
msgid "Search by repository"
msgstr "Добавить новый репозиторий"
#: search.go:57
msgid "Search by provides"
msgstr ""
#: search.go:62
msgid "Format output using a Go template"
msgstr ""
#: search.go:94
msgid "At least one search parameter is required"
msgstr ""
#: search.go:100
msgid "Error db search"
msgstr ""
#: search.go:109
#, fuzzy
msgid "Error parsing format template"
msgstr "Ошибка при разборе файла выпуска операционной системы"
#: search.go:124
#, fuzzy
msgid "Error executing template"
msgstr "Ошибка при получении пакетов"
#: upgrade.go:47
msgid "Upgrade all installed packages"
msgstr "Обновить все установленные пакеты"