Files
argument-parser/include/argparse
Abdüssamet ERSOYLU f4563fd47b refactor(parser): improve code style and modernize macos parser
- Remove unnecessary whitespace in argparse.hpp
- Modernize macos_parser.hpp with if-initializer
- Clean up includes and add [[nodiscard]] attributes
- Add .idea files to gitignore
2025-10-06 16:00:15 +04:00

27 lines
533 B
Plaintext

#pragma once
#ifndef ARGPARSE_HPP
#define ARGPARSE_HPP
#include <argument_parser.hpp>
#ifdef __linux__
#include <linux_parser.hpp>
namespace argument_parser {
using parser = linux_parser;
}
#elif __APPLE__
#include <macos_parser.hpp>
namespace argument_parser {
using parser = macos_parser;
}
#elif _WIN32
#include <windows_parser.hpp>
namespace argument_parser {
using parser = windows_parser;
}
#else
#error "Unsupported platform"
#endif
#endif
#include <base_convention.hpp>
#include <gnu_argument_convention.hpp>