> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# File cli_parser.h

![][C++]

**Location**: `core/service/cli/cli_parser.h`

## Classes

* [simulation\_framework::core::CliParser](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/reference/classsimulation__framework_1_1core_1_1CliParser.md)

## Namespaces

* [simulation\_framework](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/reference/namespacesimulation__framework.md)
* [simulation\_framework::core](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/reference/namespacesimulation__framework_1_1core.md)

## Includes

* core/export/simfwk\_core\_export.h
* [core/service/parameter/simulation\_parameters.h](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/reference/simulation__parameters_8h.md)
* \<optional>
* \<string>
* \<variant>
* \<vector>

## Source

```cpp theme={null}


#ifndef SIMFWK_CORE_SERVICE_CLI_CLIPARSER_H
#define SIMFWK_CORE_SERVICE_CLI_CLIPARSER_H

#include "core/export/simfwk_core_export.h"
#include "core/service/parameter/simulation_parameters.h"
#include <optional>
#include <string>
#include <variant>
#include <vector>

namespace simulation_framework
{
namespace core
{

class SIMFWK_CORE_API CliParser final
{
  public:
    bool Parse(int argc, const char** argv);

    std::string GetParserMessage() const;

    const SimulationParameters& GetSimulationParameters() const;

    std::string GetSimulationConfig() const;

  private:
    bool ConvertCustomizedParameterFromArgs(const std::vector<std::string>& input_args,
                                            SimulationParameters::CustomizedParameters& customized_parameters);

    SimulationParameters core_parameters_{};

    std::string parser_message_{};
};

}  // namespace core
}  // namespace simulation_framework

#endif  // SIMFWK_CORE_SERVICE_CLI_CLIPARSER_H
```

[private]: https://img.shields.io/badge/-private-red "private"

[public]: https://img.shields.io/badge/-public-brightgreen "public"

[const]: https://img.shields.io/badge/-const-lightblue "const"

[C++]: https://img.shields.io/badge/language-C%2B%2B-blue "C++"

[protected]: https://img.shields.io/badge/-protected-yellow "protected"

[static]: https://img.shields.io/badge/-static-lightgrey "static"
