MCPcopy Create free account
hub / github.com/duckdb/duckdb / SetColorScheme

Function SetColorScheme

tools/shell/shell_command_line_option.cpp:117–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116template <HighlightMode mode>
117MetadataResult SetColorScheme(ShellState &state, const vector<string> &args) {
118 state.highlight_mode = mode;
119 ShellHighlight highlight(state);
120 highlight.ToggleMode(mode);
121 return MetadataResult::SUCCESS;
122}
123
124MetadataResult ProcessFile(ShellState &state, const vector<string> &args) {
125 state.readStdin = false;

Callers

nothing calls this directly

Calls 1

ToggleModeMethod · 0.80

Tested by

no test coverage detected