MCPcopy Create free account
hub / github.com/CLIUtils/CLI11 / _parse_stream

Method _parse_stream

include/CLI/impl/App_inl.hpp:1573–1582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1571}
1572
1573CLI11_INLINE void App::_parse_stream(std::istream &input) {
1574 auto values = config_formatter_->from_config(input);
1575 _parse_config(values);
1576 increment_parsed();
1577 _trigger_pre_parse(values.size());
1578 _process();
1579
1580 // Throw error if any items are left over (depending on settings)
1581 _process_extras();
1582}
1583
1584CLI11_INLINE void App::_parse_config(const std::vector<ConfigItem> &args) {
1585 for(const ConfigItem &item : args) {

Callers

nothing calls this directly

Calls 1

from_configMethod · 0.45

Tested by

no test coverage detected