![]() |
Shamrock 2025.10.0
Astrophysical Code
|
This file handler generic cli & env options. More...
#include "shambase/exception.hpp"#include "shambase/print.hpp"#include "shambase/string.hpp"#include "shambase/term_colors.hpp"#include "shamcmdopt/cmdopt.hpp"#include "shamcmdopt/details/generic_opts.hpp"#include "shamcmdopt/env.hpp"#include "shamcmdopt/tty.hpp"#include <string_view>#include <vector>
Include dependency graph for generic_opts.cpp:Go to the source code of this file.
Namespaces | |
| namespace | shamcmdopt |
| namespace for cli utilities | |
Functions | |
| bool | term_support_color () |
| detect if terminal emulator support colored outputs | |
| void | shamcmdopt::register_cmdopt_generic_opts () |
| Register generic cli and env variables options. | |
| void | shamcmdopt::process_colors () |
| Detect if the current process should use colored output or not. | |
| void | shamcmdopt::process_tty () |
| Process the SHAMTTYCOL environment variable to set the number of columns for the terminal. | |
| void | shamcmdopt::process_cmdopt_generic_opts () |
| Process generic cli and env variables options. | |
This file handler generic cli & env options.
Definition in file generic_opts.cpp.
| bool term_support_color | ( | ) |
detect if terminal emulator support colored outputs
Definition at line 50 of file generic_opts.cpp.
Here is the call graph for this function: