Обзор
Командная строка входит в обычную установку Yellowcode: это тот же исполняемый файл yellowcode
(yellowcode.exe на Windows). Без аргументов он открывает окно приложения, с командой — работает в терминале
и не требует экрана. Все команды только читают исходные файлы.
Где лежит файл после установки:
- macOS —
/Applications/Yellowcode.app/Contents/MacOS/yellowcode; ни DMG, ни Homebrew не добавляют его вPATH; - Windows —
%LOCALAPPDATA%\Yellowcode\yellowcode.exeпосле установщика илиyellowcode.exeв распакованном ZIP; - Linux —
yellowcodeвPATHпосле установки.debили.rpm; файл.AppImageпринимает те же команды.
Справка ниже на английском — так её печатает сама программа.
| Команда | Назначение |
|---|---|
open |
Открыть в приложении |
query |
Запрос к базе |
table |
Чтение таблицы базы |
metadata |
Метаданные конфигурации |
convert |
Конвертация конфигурации и выгрузка базы |
users |
Пользователи базы |
serve |
HTTP-сервис запросов |
Общие параметры
Заголовок раздела «Общие параметры»Yellowcode configuration and infobase tools
Usage: yellowcode [OPTIONS] [COMMAND]
Commands: convert Convert a configuration or export an infobase without changing the source open Open a configuration or infobase in the installed desktop application query Execute a read-only query against an infobase serve Serve read-only queries and paged stored tables over HTTP table Read one page of a stored table, optionally through an index users Read infobase users and their cards without secrets metadata Inspect configuration metadata help Print this message or the help of the given subcommand(s)
Options: --platform-build <BUILD> Exact emulated platform build (not the configuration compatibility mode) [default: 8.5.1.1529] -h, --help Print help -V, --version Print version