Motion Master 6.0.0-alpha.50
Next-generation motion control software
Loading...
Searching...
No Matches
Options Struct Reference

Everything resolved from the command line and config file for one run. More...

#include <options.h>

Collaboration diagram for Options:
[legend]

Public Attributes

std::string configPath
 
Config config
 Settings: built-in defaults overlaid by the config file.
 
bool openBrowser {false}
 Open the PWA in the default browser on start (–open).
 
bool updateCert {false}
 Fetch a fresh cert/key, install them, and exit (–update-cert).
 
std::string certUrl
 –cert-url (CLI-only; defaults to the rolling release).
 
std::string keyUrl
 –key-url (CLI-only; defaults to the rolling release).
 

Detailed Description

Everything resolved from the command line and config file for one run.

The tunable settings live in config (built-in defaults, overlaid only by a JSONC config file — none of them have a command-line flag). The remaining members are CLI-only: actions and cert-fetch sources that have no place in the config file.

Member Data Documentation

◆ certUrl

std::string Options::certUrl

–cert-url (CLI-only; defaults to the rolling release).

◆ config

Config Options::config

Settings: built-in defaults overlaid by the config file.

◆ configPath

std::string Options::configPath

Effective config path: –config if given, else an auto-discovered motion-master.jsonc next to the executable; empty if neither exists.

◆ keyUrl

std::string Options::keyUrl

–key-url (CLI-only; defaults to the rolling release).

◆ openBrowser

bool Options::openBrowser {false}

Open the PWA in the default browser on start (–open).

◆ updateCert

bool Options::updateCert {false}

Fetch a fresh cert/key, install them, and exit (–update-cert).


The documentation for this struct was generated from the following file: