Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
generic_opts.cpp File Reference

This file handler generic cli & env options. More...

#include "shambase/SourceLocation.hpp"
#include "shambase/exception.hpp"
#include "shambase/print.hpp"
#include "shambase/string.hpp"
#include "shambase/term_colors.hpp"
#include "sham/term/env.hpp"
#include "sham/term/tty.hpp"
#include "shamcmdopt/cmdopt.hpp"
#include "shamcmdopt/details/generic_opts.hpp"
#include "shamcmdopt/env.hpp"
#include <string_view>
#include <optional>
#include <stdexcept>
#include <string>
#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

void shamcmdopt::register_cmdopt_generic_opts ()
 Register generic cli and env variables options.
void shamcmdopt::process_env_vars ()
 Detect if the current process should use colored output or not.
void shamcmdopt::process_cmdopt_generic_opts ()
 Process generic cli and env variables options.

Detailed Description

This file handler generic cli & env options.

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file generic_opts.cpp.