Skip to content

Параметры командной строки


--help

Вывод справки

Пример:

# easymb --help

-config string
        path to config file
-monitor
        monitor modbus variables
-test
        test modbus variables
-version
        display version info

--config

Путь к файлу настроек приложения

Пример:

# easymb --config path/to/config/file.json

--monitor

Режим мониторинга

Пример:

# easymb --config path/to/config/file.json --monitor

monitor


--test

Режим тестирования

Пример:

# easymb --config path/to/config/file.json --test

test


--version

Информация о версии приложения

Пример:

# easymb --version

2020/12/15 14:34:52 Version: v0.9-1-g8509443
Commit: 8509443
Date: 2020-12-14.16:47:49.+0700