| ChainCLI
    A modern C++20 command-line interface library | 
Inclusive argument group. More...
#include <argument_group.h>
 
  
| Public Member Functions | |
| template<typename... Args> requires ((!std::same_as<std::remove_cvref_t<Args>, InclusiveGroup> && ...) && (std::derived_from<std::remove_cvref_t<Args>, ArgumentBase> && ...)) | |
| InclusiveGroup (Args &&...args) | |
| Construct a new InclusiveGroup. | |
|  Public Member Functions inherited from cli::commands::ArgumentGroup | |
| template<typename... Args> requires ((!std::same_as<std::remove_cvref_t<Args>, ArgumentGroup> && ...) && (std::derived_from<std::remove_cvref_t<Args>, ArgumentBase> && ...)) | |
| ArgumentGroup (bool exclusive, bool inclusive, Args &&...args) | |
| Construct a new ArgumentGroup. | |
| const std::vector< std::shared_ptr< ArgumentBase > > & | getArguments () const noexcept | 
| Get the arguments in the group. | |
| bool | isExclusive () const noexcept | 
| Check if the group is exclusive. | |
| bool | isInclusive () const noexcept | 
| Check if the group is inclusive. | |
| bool | isRequired () const | 
| Check if this group is required. | |
| void | addArgument (const std::shared_ptr< ArgumentBase > &arg) | 
| Add an argument to the group. | |
Inclusive argument group.
| 
 | inlineexplicit | 
Construct a new InclusiveGroup.
| ...Args | The types of the arguments to include in the group. | 
| ...args | The arguments to include in the group. |